Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001867/0.001867, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002349/0.002349, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.079/3.079, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002013/0.002013, allocations: 73.27 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007559/0.3224, allocations: 5.221 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.4971, allocations: 154.2 MB / 1.482 GB, free: 1.906 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009792/0.498, allocations: 27.81 kB / 1.482 GB, free: 1.879 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008758/0.4989, allocations: 206.1 kB / 1.482 GB, free: 1.676 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.5013, allocations: 0.5747 MB / 1.482 GB, free: 1.102 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.5038, allocations: 0.8818 MB / 1.483 GB, free: 232 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002262/0.506, allocations: 1.455 MB / 1.485 GB, free: 14.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.507, allocations: 426.2 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.508, allocations: 0.5139 MB / 1.486 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.509, allocations: 0.5251 MB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.5093, allocations: 120 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.5106, allocations: 0.5152 MB / 1.487 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.511, allocations: 315 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008368/0.5119, allocations: 0.5791 MB / 1.488 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.5149, allocations: 1.72 MB / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5149, allocations: 0 / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5149, allocations: 0 / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.989e-05/0.5149, allocations: 0 / 1.489 GB, free: 10.03 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.00345/0.5184, allocations: 1.451 MB / 1.491 GB, free: 8.547 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5184, allocations: 8.031 kB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.5187, allocations: 139.6 kB / 1.491 GB, free: 8.395 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.5203, allocations: 240 kB / 1.491 GB, free: 8.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.5219, allocations: 0.7336 MB / 1.492 GB, free: 7.395 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.45e-05/0.522, allocations: 62 kB / 1.492 GB, free: 7.332 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.5222, allocations: 87.98 kB / 1.492 GB, free: 7.246 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.5241, allocations: 0.9379 MB / 1.493 GB, free: 6.27 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.5241, allocations: 0 / 1.493 GB, free: 6.27 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5242, allocations: 36 kB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5243, allocations: 23.98 kB / 1.493 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.5263, allocations: 1.12 MB / 1.494 GB, free: 5.086 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.5316, allocations: 2.773 MB / 1.497 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.5333, allocations: 0.7687 MB / 1.497 GB, free: 1.402 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.5338, allocations: 278.7 kB / 1.498 GB, free: 1.129 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.372e-05/0.5339, allocations: 28.62 kB / 1.498 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/0.5349, allocations: 0.497 MB / 1.498 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.5349, allocations: 4 kB / 1.498 GB, free: 0.582 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003526/0.5385, allocations: 1.138 MB / 1.499 GB, free: 15.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5386, allocations: 192.6 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.5397, allocations: 0.6684 MB / 1.5 GB, free: 14.53 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/0.5398, allocations: 45.7 kB / 1.5 GB, free: 14.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/0.5402, allocations: 417 kB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003285/0.5406, allocations: 281.6 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.5408, allocations: 150.6 kB / 1.501 GB, free: 13.63 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000243/0.5411, allocations: 386.8 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.5416, allocations: 253.9 kB / 1.502 GB, free: 13 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006751/0.5423, allocations: 362.5 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.5435, allocations: 0.5877 MB / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5435, allocations: 0 / 1.502 GB, free: 12.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002208/0.5457, allocations: 0.8218 MB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.5457, allocations: 5.562 kB / 1.503 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.5457, allocations: 4 kB / 1.503 GB, free: 11.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.5464, allocations: 88.8 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.5471, allocations: 155.8 kB / 1.504 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.5494, allocations: 1.531 MB / 1.505 GB, free: 9.289 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/0.5503, allocations: 97.8 kB / 1.505 GB, free: 9.195 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.5504, allocations: 27.98 kB / 1.505 GB, free: 9.168 MB / 1.201 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005755/0.551, allocations: 262.2 kB / 1.505 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.5513, allocations: 95.39 kB / 1.505 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.5539, allocations: 1.066 MB / 1.507 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.5539, allocations: 8 kB / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5539, allocations: 0 / 1.507 GB, free: 7.723 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5539, allocations: 11.97 kB / 1.507 GB, free: 7.711 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.5553, allocations: 0.8949 MB / 1.507 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5553, allocations: 4 kB / 1.507 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/0.5559, allocations: 151.7 kB / 1.508 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004748/0.5564, allocations: 76.72 kB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.204e-05/0.5565, allocations: 27.92 kB / 1.508 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.5586, allocations: 1.558 MB / 1.509 GB, free: 4.836 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5586, allocations: 8.094 kB / 1.509 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.5614, allocations: 1.34 MB / 1.511 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.5619, allocations: 211 kB / 1.511 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.5621, allocations: 19.94 kB / 1.511 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/0.5628, allocations: 63.92 kB / 1.511 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.5629, allocations: 76.92 kB / 1.511 GB, free: 3.102 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.563, allocations: 31.98 kB / 1.511 GB, free: 3.07 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006894/0.5637, allocations: 487 kB / 1.511 GB, free: 2.598 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5637, allocations: 0 / 1.511 GB, free: 2.598 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009438/0.5646, allocations: 335.1 kB / 1.512 GB, free: 2.27 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005074/0.5697, allocations: 2.392 MB / 1.514 GB, free: 32 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.5715, allocations: 0.7766 MB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5715, allocations: 4.188 kB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5726, allocations: 0.4962 MB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.574, allocations: 319.5 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5857, allocations: 6.449 MB / 1.522 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.5865, allocations: 1.035 MB / 1.523 GB, free: 6.773 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000853/0.5873, allocations: 270.8 kB / 1.523 GB, free: 6.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006297/0.588, allocations: 415.2 kB / 1.524 GB, free: 6.098 MB / 1.217 GB Notification: Performance of SimCode: time 6.22e-07/0.588, allocations: 3.938 kB / 1.524 GB, free: 6.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/0.659, allocations: 22.89 MB / 1.546 GB, free: 15.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.89/16.55, allocations: 1.891 kB / 1.546 GB, free: 15.43 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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: 23.381871714023873]