Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 194.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.296/2.296, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 0.8689 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4735, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001691/0.4752, allocations: 0.7279 MB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.476, allocations: 0.8001 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.476, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.476, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.4761, allocations: 3.938 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.4762, allocations: 11.98 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.4763, allocations: 20 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.015e-05/0.4764, allocations: 11.98 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.4764, allocations: 11.88 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.4765, allocations: 11.98 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.4765, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.4765, allocations: 4 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.4765, allocations: 3.938 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.4765, allocations: 7.984 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.045e-05/0.4766, allocations: 23.91 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4766, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4766, allocations: 4 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4766, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003639/0.477, allocations: 333.7 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.477, allocations: 8.031 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.4771, allocations: 38.73 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.4771, allocations: 8.844 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.949e-05/0.4772, allocations: 160.4 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.4772, allocations: 384 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.4772, allocations: 4.375 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.4774, allocations: 50.23 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4774, allocations: 3.938 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.4774, allocations: 7.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4774, allocations: 3.984 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4776, allocations: 35.95 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.4779, allocations: 245 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.478, allocations: 42.5 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.4781, allocations: 24.89 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4781, allocations: 3.938 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4781, allocations: 34.5 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4781, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003052/0.4784, allocations: 81.58 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.4785, allocations: 51.41 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.4786, allocations: 101.9 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4786, allocations: 25.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.4786, allocations: 84.14 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.4786, allocations: 15.95 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.4787, allocations: 13.72 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.4788, allocations: 310.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.4788, allocations: 15.98 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.4789, allocations: 19.92 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.4791, allocations: 44.88 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4791, allocations: 3.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001735/0.4793, allocations: 69.56 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.4793, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4793, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.4793, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.4794, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4794, allocations: 3.984 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.4794, allocations: 8.031 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.4795, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.4795, allocations: 114.3 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.4795, allocations: 3.938 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.4798, allocations: 76.77 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.4798, allocations: 32 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4798, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4798, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4799, allocations: 157.6 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4799, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.48, allocations: 11.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.48, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.48, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.48, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.48, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4802, allocations: 175.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.4803, allocations: 77.11 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.4803, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.4804, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.4804, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.4804, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.4804, allocations: 91.3 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4805, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002085/0.4807, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004445/0.4811, allocations: 0.7044 MB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.4813, allocations: 35.97 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4813, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.4814, allocations: 23.97 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4816, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.482, allocations: 135.4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.4822, allocations: 0.6768 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.205e-05/0.4822, allocations: 7.938 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.253e-05/0.4823, allocations: 11.44 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4823, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.4923, allocations: 1.105 MB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/0.4925, allocations: 206.8 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.149, allocations: 7.812 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches