Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.001744/0.001744, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001972/0.001972, allocations: 222.3 kB / 22.25 MB, free: 5.254 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.781 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.037/3.037, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.002057/0.002057, allocations: 69.77 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00668/0.3312, allocations: 4.501 MB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.4886, allocations: 132.7 MB / 1.46 GB, free: 7.805 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008213/0.4894, allocations: 23.81 kB / 1.46 GB, free: 7.781 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.49, allocations: 206.2 kB / 1.46 GB, free: 7.578 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.4918, allocations: 0.5593 MB / 1.461 GB, free: 7.02 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.4938, allocations: 0.8606 MB / 1.461 GB, free: 6.164 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.4955, allocations: 1.393 MB / 1.463 GB, free: 4.766 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007233/0.4962, allocations: 411.7 kB / 1.463 GB, free: 4.34 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.4969, allocations: 0.5022 MB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/0.4976, allocations: 0.4939 MB / 1.464 GB, free: 3.34 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.4977, allocations: 116 kB / 1.464 GB, free: 3.227 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009191/0.4986, allocations: 0.4996 MB / 1.465 GB, free: 2.727 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.4989, allocations: 307 kB / 1.465 GB, free: 2.426 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.4994, allocations: 461.7 kB / 1.465 GB, free: 1.973 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.5016, allocations: 1.677 MB / 1.467 GB, free: 296 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5016, allocations: 4 kB / 1.467 GB, free: 292 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5016, allocations: 0 / 1.467 GB, free: 292 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.5016, allocations: 0 / 1.467 GB, free: 292 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002729/0.5044, allocations: 1.415 MB / 1.468 GB, free: 14.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5044, allocations: 8.031 kB / 1.468 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.5046, allocations: 135.3 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.506, allocations: 228 kB / 1.469 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.5073, allocations: 0.7218 MB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/0.5074, allocations: 62 kB / 1.47 GB, free: 13.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5075, allocations: 83.94 kB / 1.47 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5092, allocations: 1.162 MB / 1.471 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5092, allocations: 7.938 kB / 1.471 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/0.5093, allocations: 32 kB / 1.471 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.5093, allocations: 20 kB / 1.471 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.5111, allocations: 1.05 MB / 1.472 GB, free: 11.19 MB / 1.17 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.004055/0.5151, allocations: 2.295 MB / 1.474 GB, free: 8.832 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.5166, allocations: 0.735 MB / 1.475 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005045/0.5171, allocations: 274.7 kB / 1.475 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-05/0.5172, allocations: 20.64 kB / 1.475 GB, free: 7.793 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009244/0.5181, allocations: 0.5776 MB / 1.476 GB, free: 7.172 MB / 1.17 GB Notification: Performance of pre-optimization done (n=78): time 2.474e-06/0.5181, allocations: 0 / 1.476 GB, free: 7.172 MB / 1.17 GB Notification: Performance of matching and sorting (n=78): time 0.00326/0.5213, allocations: 1.107 MB / 1.477 GB, free: 6.059 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5215, allocations: 188.6 kB / 1.477 GB, free: 5.828 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.5224, allocations: 0.6645 MB / 1.478 GB, free: 5.156 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.5225, allocations: 41.7 kB / 1.478 GB, free: 5.109 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.5229, allocations: 409 kB / 1.478 GB, free: 4.703 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.5231, allocations: 269.7 kB / 1.478 GB, free: 4.438 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.5233, allocations: 150.6 kB / 1.478 GB, free: 4.285 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.5235, allocations: 386.7 kB / 1.479 GB, free: 3.898 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005132/0.524, allocations: 245.9 kB / 1.479 GB, free: 3.656 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.5247, allocations: 487.9 kB / 1.48 GB, free: 3.121 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5258, allocations: 0.5768 MB / 1.48 GB, free: 2.531 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5258, allocations: 0 / 1.48 GB, free: 2.531 MB / 1.17 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001984/0.5278, allocations: 0.7984 MB / 1.481 GB, free: 1.723 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.5278, allocations: 4 kB / 1.481 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5278, allocations: 4 kB / 1.481 GB, free: 1.715 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.5285, allocations: 88.83 kB / 1.481 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.5291, allocations: 147.8 kB / 1.481 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.5312, allocations: 1.529 MB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000789/0.532, allocations: 91.53 kB / 1.483 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.5321, allocations: 27.98 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0005402/0.5326, allocations: 275.2 kB / 1.483 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.5328, allocations: 87.44 kB / 1.483 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.5353, allocations: 1.05 MB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5353, allocations: 8 kB / 1.484 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5353, allocations: 7.938 kB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.5353, allocations: 3.984 kB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5364, allocations: 0.7391 MB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5364, allocations: 0 / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.537, allocations: 139.8 kB / 1.485 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/0.5375, allocations: 76.78 kB / 1.485 GB, free: 13.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.5375, allocations: 23.98 kB / 1.485 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.5395, allocations: 1.551 MB / 1.487 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5395, allocations: 0 / 1.487 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.5415, allocations: 0.9244 MB / 1.487 GB, free: 10.63 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004699/0.542, allocations: 203.1 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5421, allocations: 27.94 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.5428, allocations: 59.94 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.5429, allocations: 72.8 kB / 1.488 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.543, allocations: 39.97 kB / 1.488 GB, free: 10.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006282/0.5436, allocations: 475 kB / 1.488 GB, free: 9.773 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5436, allocations: 0 / 1.488 GB, free: 9.773 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008367/0.5445, allocations: 319.2 kB / 1.489 GB, free: 9.461 MB / 1.186 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.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 (89): * Single equations (assignments): 83 * 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.004168/0.5486, allocations: 2.008 MB / 1.491 GB, free: 7.633 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.5503, allocations: 0.7609 MB / 1.491 GB, free: 6.859 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5503, allocations: 0 / 1.491 GB, free: 6.859 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.5512, allocations: 496.5 kB / 1.492 GB, free: 6.363 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5524, allocations: 297.1 kB / 1.492 GB, free: 6.098 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.5629, allocations: 6.253 MB / 1.498 GB, free: 15.68 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.5634, allocations: 441.6 kB / 1.499 GB, free: 15.21 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008406/0.5643, allocations: 258.7 kB / 1.499 GB, free: 14.96 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000592/0.5648, allocations: 399.3 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/0.5648, allocations: 0 / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06095/0.6258, allocations: 23.64 MB / 1.522 GB, free: 7.223 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.62, allocations: 13.16 kB / 1.522 GB, free: 7.215 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.16033669700846]