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.001712/0.001712, allocations: 105.7 kB / 16.45 MB, free: 6.5 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.002035/0.002035, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.087/3.087, allocations: 0.49 GB / 0.7916 GB, free: 33.44 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.002081/0.002081, allocations: 72.88 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2943, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007392/0.3017, allocations: 5.178 MB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.4708, allocations: 154 MB / 1.476 GB, free: 3.496 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/0.4715, allocations: 23.81 kB / 1.476 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.4722, allocations: 206.1 kB / 1.476 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.474, allocations: 0.5821 MB / 1.477 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.476, allocations: 0.8545 MB / 1.478 GB, free: 1.84 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.4779, allocations: 1.443 MB / 1.479 GB, free: 400 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.4787, allocations: 433.7 kB / 1.48 GB, free: 15.94 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.4795, allocations: 0.5178 MB / 1.48 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006864/0.4802, allocations: 0.5251 MB / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.4804, allocations: 120 kB / 1.481 GB, free: 14.78 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.4814, allocations: 0.5113 MB / 1.481 GB, free: 14.27 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.4817, allocations: 311 kB / 1.482 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005602/0.4822, allocations: 0.5791 MB / 1.482 GB, free: 13.38 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.4845, allocations: 1.716 MB / 1.484 GB, free: 11.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4845, allocations: 0 / 1.484 GB, free: 11.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4845, allocations: 0 / 1.484 GB, free: 11.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.4846, allocations: 0 / 1.484 GB, free: 11.66 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.002818/0.4874, allocations: 1.538 MB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4874, allocations: 15.92 kB / 1.485 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.4876, allocations: 139.6 kB / 1.486 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4891, allocations: 236 kB / 1.486 GB, free: 9.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.4904, allocations: 0.7979 MB / 1.487 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.4904, allocations: 62 kB / 1.487 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4906, allocations: 87.98 kB / 1.487 GB, free: 8.691 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.4922, allocations: 0.934 MB / 1.488 GB, free: 7.719 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.4922, allocations: 0 / 1.488 GB, free: 7.719 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.4923, allocations: 43.98 kB / 1.488 GB, free: 7.676 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.4923, allocations: 24 kB / 1.488 GB, free: 7.652 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.4942, allocations: 1.116 MB / 1.489 GB, free: 6.531 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.00438/0.4986, allocations: 2.824 MB / 1.492 GB, free: 3.57 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.5001, allocations: 0.7691 MB / 1.492 GB, free: 2.793 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.5007, allocations: 282.7 kB / 1.493 GB, free: 2.512 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/0.5007, allocations: 28.61 kB / 1.493 GB, free: 2.484 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008759/0.5016, allocations: 0.4971 MB / 1.493 GB, free: 1.969 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/0.5016, allocations: 0 / 1.493 GB, free: 1.969 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003342/0.505, allocations: 1.214 MB / 1.494 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.5051, allocations: 188.6 kB / 1.494 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.506, allocations: 0.6647 MB / 1.495 GB, free: 15.83 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.5061, allocations: 41.7 kB / 1.495 GB, free: 15.78 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.5064, allocations: 425 kB / 1.495 GB, free: 15.36 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.5067, allocations: 285.5 kB / 1.496 GB, free: 15.08 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.5069, allocations: 150.6 kB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.5071, allocations: 394.8 kB / 1.496 GB, free: 14.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.5076, allocations: 245.9 kB / 1.497 GB, free: 14.29 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.5083, allocations: 366.5 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5094, allocations: 0.5916 MB / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.5094, allocations: 0 / 1.497 GB, free: 13.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001994/0.5114, allocations: 0.8218 MB / 1.498 GB, free: 12.48 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5114, allocations: 4 kB / 1.498 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5114, allocations: 0 / 1.498 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.512, allocations: 88.8 kB / 1.498 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.5127, allocations: 155.8 kB / 1.498 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.5149, allocations: 1.642 MB / 1.5 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/0.5156, allocations: 93.94 kB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.5157, allocations: 35.97 kB / 1.5 GB, free: 10.32 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.0004498/0.5162, allocations: 271.4 kB / 1.5 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.5164, allocations: 87.44 kB / 1.501 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.5189, allocations: 1.066 MB / 1.502 GB, free: 8.875 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5189, allocations: 15.98 kB / 1.502 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5189, allocations: 0 / 1.502 GB, free: 8.859 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.5189, allocations: 3.984 kB / 1.502 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.5201, allocations: 0.9115 MB / 1.503 GB, free: 7.895 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5201, allocations: 0 / 1.503 GB, free: 7.895 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.5208, allocations: 155.7 kB / 1.503 GB, free: 7.742 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.5212, allocations: 80.72 kB / 1.503 GB, free: 7.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/0.5213, allocations: 27.92 kB / 1.503 GB, free: 7.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5233, allocations: 1.666 MB / 1.504 GB, free: 5.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5233, allocations: 0 / 1.504 GB, free: 5.82 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.5261, allocations: 1.344 MB / 1.506 GB, free: 4.453 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.5265, allocations: 280.2 kB / 1.506 GB, free: 4.16 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5267, allocations: 19.94 kB / 1.506 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.5273, allocations: 67.98 kB / 1.506 GB, free: 4.074 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.5274, allocations: 68.91 kB / 1.506 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/0.5275, allocations: 35.97 kB / 1.506 GB, free: 3.973 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006678/0.5282, allocations: 487 kB / 1.507 GB, free: 3.5 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5282, allocations: 0 / 1.507 GB, free: 3.5 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009079/0.5291, allocations: 335.1 kB / 1.507 GB, free: 3.172 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.004927/0.534, allocations: 2.396 MB / 1.509 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001752/0.5358, allocations: 0.7766 MB / 1.51 GB, free: 144 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5358, allocations: 0 / 1.51 GB, free: 144 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.5368, allocations: 0.4925 MB / 1.511 GB, free: 15.63 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.538, allocations: 309.9 kB / 1.511 GB, free: 15.36 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.5491, allocations: 6.454 MB / 1.517 GB, free: 8.746 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.5498, allocations: 1.037 MB / 1.518 GB, free: 7.68 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008324/0.5506, allocations: 266.8 kB / 1.518 GB, free: 7.414 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.5512, allocations: 407.2 kB / 1.519 GB, free: 7.016 MB / 1.217 GB Notification: Performance of SimCode: time 4.2e-07/0.5512, allocations: 7.938 kB / 1.519 GB, free: 7.008 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06233/0.6136, allocations: 22.32 MB / 1.541 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.58, allocations: 5.953 kB / 1.541 GB, free: 0.918 MB / 1.232 GB " [Timeout remaining time 285] (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: 21.139749293215573]