Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.996/2.996, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 76.53 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1774/0.4859, allocations: 148.3 MB / 1.508 GB, free: 9.254 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02185/0.5077, allocations: 16.2 MB / 1.524 GB, free: 9.004 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.5093, allocations: 43.62 kB / 1.524 GB, free: 8.961 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.5108, allocations: 0.5622 MB / 1.525 GB, free: 8.395 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.5155, allocations: 1.836 MB / 1.526 GB, free: 6.555 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.5188, allocations: 1.463 MB / 1.528 GB, free: 5.105 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.5218, allocations: 2.894 MB / 1.531 GB, free: 2.203 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.5237, allocations: 1.563 MB / 1.532 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.5273, allocations: 1.524 MB / 1.534 GB, free: 15.1 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.5286, allocations: 1.042 MB / 1.535 GB, free: 14.05 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.5289, allocations: 224 kB / 1.535 GB, free: 13.84 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.5317, allocations: 1.458 MB / 1.536 GB, free: 12.38 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0007025/0.5324, allocations: 0.8216 MB / 1.537 GB, free: 11.55 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.001021/0.5334, allocations: 1.042 MB / 1.538 GB, free: 10.51 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.004241/0.5377, allocations: 3.798 MB / 1.542 GB, free: 6.695 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5377, allocations: 0 / 1.542 GB, free: 6.695 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5377, allocations: 0 / 1.542 GB, free: 6.695 MB / 1.233 GB Notification: Performance of Transformations before backend: time 2.858e-05/0.5377, allocations: 0 / 1.542 GB, free: 6.695 MB / 1.233 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004726/0.5424, allocations: 2.942 MB / 1.545 GB, free: 3.699 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5425, allocations: 12.03 kB / 1.545 GB, free: 3.688 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002973/0.5428, allocations: 244.9 kB / 1.545 GB, free: 3.438 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/0.5468, allocations: 0.6345 MB / 1.546 GB, free: 2.801 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.5514, allocations: 3.378 MB / 1.549 GB, free: 15.39 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.5515, allocations: 127.4 kB / 1.549 GB, free: 15.26 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.5517, allocations: 171.9 kB / 1.549 GB, free: 15.09 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.5553, allocations: 2.697 MB / 1.552 GB, free: 12.16 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.5554, allocations: 4 kB / 1.552 GB, free: 12.16 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.5555, allocations: 76 kB / 1.552 GB, free: 12.08 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.5555, allocations: 40 kB / 1.552 GB, free: 12.04 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.5589, allocations: 2.035 MB / 1.554 GB, free: 10 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008151/0.5671, allocations: 4.96 MB / 1.559 GB, free: 4.953 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003107/0.5702, allocations: 1.702 MB / 1.56 GB, free: 3.25 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.5714, allocations: 0.7061 MB / 1.561 GB, free: 2.543 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.5718, allocations: 113.2 kB / 1.561 GB, free: 2.434 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/0.5738, allocations: 1.619 MB / 1.563 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 3.246e-06/0.5738, allocations: 0 / 1.563 GB, free: 0.6484 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.006414/0.5802, allocations: 2.59 MB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.5804, allocations: 197.2 kB / 1.566 GB, free: 13.8 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.585, allocations: 4.089 MB / 1.57 GB, free: 9.707 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5852, allocations: 61.7 kB / 1.57 GB, free: 9.641 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008127/0.586, allocations: 0.8998 MB / 1.57 GB, free: 8.73 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.5864, allocations: 0.4996 MB / 1.571 GB, free: 8.227 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.5868, allocations: 234.8 kB / 1.571 GB, free: 7.992 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.587, allocations: 357.9 kB / 1.572 GB, free: 7.637 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.5881, allocations: 0.5726 MB / 1.572 GB, free: 7.062 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.5896, allocations: 1.224 MB / 1.573 GB, free: 5.668 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.592, allocations: 1.314 MB / 1.575 GB, free: 4.348 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.592, allocations: 0 / 1.575 GB, free: 4.348 MB / 1.264 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003734/0.5957, allocations: 1.776 MB / 1.576 GB, free: 2.547 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5957, allocations: 10.34 kB / 1.576 GB, free: 2.539 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5957, allocations: 3.938 kB / 1.576 GB, free: 2.535 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.5968, allocations: 212.2 kB / 1.577 GB, free: 2.312 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.5982, allocations: 327.5 kB / 1.577 GB, free: 1.992 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006131/0.6043, allocations: 6.776 MB / 1.583 GB, free: 10.64 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.6058, allocations: 163.2 kB / 1.584 GB, free: 10.48 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6059, allocations: 47.97 kB / 1.584 GB, free: 10.43 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001017/0.6069, allocations: 489.4 kB / 1.584 GB, free: 9.945 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.6073, allocations: 206.7 kB / 1.584 GB, free: 9.742 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.6116, allocations: 2.13 MB / 1.586 GB, free: 7.582 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.6117, allocations: 16 kB / 1.586 GB, free: 7.566 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6117, allocations: 4 kB / 1.586 GB, free: 7.562 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.6117, allocations: 7.969 kB / 1.586 GB, free: 7.555 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006827/0.6185, allocations: 3.819 MB / 1.59 GB, free: 3.664 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6185, allocations: 0 / 1.59 GB, free: 3.664 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/0.6199, allocations: 307.6 kB / 1.59 GB, free: 3.363 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008804/0.6208, allocations: 220 kB / 1.591 GB, free: 3.133 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.471e-05/0.6209, allocations: 39.97 kB / 1.591 GB, free: 3.094 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005976/0.6268, allocations: 6.823 MB / 1.597 GB, free: 11.68 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6268, allocations: 0 / 1.597 GB, free: 11.68 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/0.631, allocations: 2.014 MB / 1.599 GB, free: 9.633 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.6322, allocations: 454.1 kB / 1.6 GB, free: 9.188 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.6324, allocations: 32 kB / 1.6 GB, free: 9.156 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6336, allocations: 111.7 kB / 1.6 GB, free: 9.051 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.6338, allocations: 121 kB / 1.6 GB, free: 8.934 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.634, allocations: 71.95 kB / 1.6 GB, free: 8.863 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003382/0.6374, allocations: 3.132 MB / 1.603 GB, free: 5.738 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6374, allocations: 0 / 1.603 GB, free: 5.738 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001681/0.639, allocations: 0.6976 MB / 1.604 GB, free: 5.039 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006463/0.6455, allocations: 3.241 MB / 1.607 GB, free: 1.969 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5239/1.169, allocations: 1.992 MB / 1.609 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/1.169, allocations: 3.031 kB / 1.609 GB, free: 242.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.172, allocations: 1.362 MB / 1.61 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.174, allocations: 0.5526 MB / 1.611 GB, free: 242 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/1.202, allocations: 20.9 MB / 1.631 GB, free: 235.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.203, allocations: 0.95 MB / 1.632 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001702/1.205, allocations: 0.5309 MB / 1.633 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009607/1.206, allocations: 0.9147 MB / 1.634 GB, free: 234.4 MB / 1.295 GB Notification: Performance of SimCode: time 7.62e-07/1.206, allocations: 0 / 1.634 GB, free: 234.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09436/1.3, allocations: 52.77 MB / 1.685 GB, free: 195.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.42, allocations: 0 / 1.685 GB, free: 195.8 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.837385058403015]