Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001808/0.001808, 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.002381/0.002381, allocations: 214.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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 476.7 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_11_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.001949/0.001949, allocations: 65 kB / 1.117 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2915, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006908/0.2984, allocations: 5.035 MB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1711/0.4695, allocations: 154.1 MB / 1.439 GB, free: 12 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007576/0.4702, allocations: 23.81 kB / 1.439 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.471, allocations: 198.1 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.4728, allocations: 0.5665 MB / 1.44 GB, free: 11.22 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.4749, allocations: 0.8662 MB / 1.44 GB, free: 10.36 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001792/0.4767, allocations: 1.408 MB / 1.442 GB, free: 8.945 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.4776, allocations: 413.9 kB / 1.442 GB, free: 8.516 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007877/0.4784, allocations: 0.4983 MB / 1.443 GB, free: 8.016 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007976/0.4791, allocations: 0.5056 MB / 1.443 GB, free: 7.508 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.4794, allocations: 116 kB / 1.443 GB, free: 7.395 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.4805, allocations: 0.5113 MB / 1.444 GB, free: 6.883 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.4808, allocations: 299 kB / 1.444 GB, free: 6.59 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.4815, allocations: 0.5558 MB / 1.445 GB, free: 6.031 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.4838, allocations: 1.67 MB / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4838, allocations: 0 / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4838, allocations: 3.938 kB / 1.446 GB, free: 4.352 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.899e-05/0.4839, allocations: 3.938 kB / 1.446 GB, free: 4.348 MB / 1.139 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.003159/0.487, allocations: 1.419 MB / 1.448 GB, free: 2.891 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4871, allocations: 12.03 kB / 1.448 GB, free: 2.879 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002323/0.4873, allocations: 135.3 kB / 1.448 GB, free: 2.738 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4888, allocations: 228 kB / 1.448 GB, free: 2.516 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.4903, allocations: 0.7296 MB / 1.449 GB, free: 1.758 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.759e-05/0.4904, allocations: 58 kB / 1.449 GB, free: 1.699 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.4906, allocations: 84 kB / 1.449 GB, free: 1.617 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.4922, allocations: 0.9152 MB / 1.45 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.4923, allocations: 0 / 1.45 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.4924, allocations: 35.98 kB / 1.45 GB, free: 0.625 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.4924, allocations: 24 kB / 1.45 GB, free: 0.6016 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.4942, allocations: 1.093 MB / 1.451 GB, free: 15.51 MB / 1.154 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.004335/0.4985, allocations: 2.698 MB / 1.453 GB, free: 12.69 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.5, allocations: 0.7416 MB / 1.454 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.5005, allocations: 270.6 kB / 1.454 GB, free: 11.68 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.5005, allocations: 32.61 kB / 1.454 GB, free: 11.64 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008693/0.5014, allocations: 488.7 kB / 1.455 GB, free: 11.15 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/0.5014, allocations: 0 / 1.455 GB, free: 11.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003215/0.5046, allocations: 1.107 MB / 1.456 GB, free: 10.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.5047, allocations: 188.6 kB / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009762/0.5057, allocations: 0.6645 MB / 1.457 GB, free: 9.133 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/0.5058, allocations: 41.7 kB / 1.457 GB, free: 9.086 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.5062, allocations: 413 kB / 1.457 GB, free: 8.676 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.5065, allocations: 265.8 kB / 1.458 GB, free: 8.414 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5067, allocations: 146.6 kB / 1.458 GB, free: 8.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.5069, allocations: 390.7 kB / 1.458 GB, free: 7.875 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.5074, allocations: 249.9 kB / 1.458 GB, free: 7.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.508, allocations: 359.4 kB / 1.459 GB, free: 7.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5091, allocations: 0.5768 MB / 1.459 GB, free: 6.66 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5091, allocations: 3.938 kB / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00206/0.5112, allocations: 0.8023 MB / 1.46 GB, free: 5.84 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.5112, allocations: 4 kB / 1.46 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5112, allocations: 4 kB / 1.46 GB, free: 5.832 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/0.5118, allocations: 80.84 kB / 1.46 GB, free: 5.75 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/0.5125, allocations: 151.7 kB / 1.46 GB, free: 5.602 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.5146, allocations: 1.527 MB / 1.462 GB, free: 3.957 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.5154, allocations: 91.5 kB / 1.462 GB, free: 3.867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.5154, allocations: 31.97 kB / 1.462 GB, free: 3.836 MB / 1.154 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.0005148/0.516, allocations: 266.5 kB / 1.462 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.5162, allocations: 91.38 kB / 1.462 GB, free: 3.477 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.5187, allocations: 1.042 MB / 1.463 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.5187, allocations: 8 kB / 1.463 GB, free: 2.41 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5187, allocations: 3.938 kB / 1.463 GB, free: 2.406 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.5187, allocations: 3.984 kB / 1.463 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5199, allocations: 0.8754 MB / 1.464 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5199, allocations: 3.938 kB / 1.464 GB, free: 1.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/0.5205, allocations: 143.8 kB / 1.464 GB, free: 1.34 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.5209, allocations: 68.8 kB / 1.464 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.521, allocations: 31.95 kB / 1.464 GB, free: 1.238 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.523, allocations: 1.555 MB / 1.466 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.523, allocations: 0 / 1.466 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.5253, allocations: 0.9127 MB / 1.467 GB, free: 14.63 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005715/0.5259, allocations: 199.1 kB / 1.467 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.5261, allocations: 23.98 kB / 1.467 GB, free: 14.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/0.5268, allocations: 62.61 kB / 1.467 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.527, allocations: 76.8 kB / 1.467 GB, free: 14.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.5271, allocations: 31.98 kB / 1.467 GB, free: 14.25 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008021/0.5279, allocations: 483 kB / 1.468 GB, free: 13.78 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5279, allocations: 0 / 1.468 GB, free: 13.78 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001031/0.5289, allocations: 331.1 kB / 1.468 GB, free: 13.45 MB / 1.17 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.00453/0.5335, allocations: 1.968 MB / 1.47 GB, free: 11.64 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.5355, allocations: 0.765 MB / 1.471 GB, free: 10.86 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5355, allocations: 4 kB / 1.471 GB, free: 10.86 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5365, allocations: 492.2 kB / 1.471 GB, free: 10.37 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.538, allocations: 299.7 kB / 1.471 GB, free: 10.1 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.5494, allocations: 6.245 MB / 1.477 GB, free: 3.684 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.5502, allocations: 1.027 MB / 1.478 GB, free: 2.629 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008941/0.5511, allocations: 262.7 kB / 1.479 GB, free: 2.367 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.5517, allocations: 403.3 kB / 1.479 GB, free: 1.973 MB / 1.17 GB Notification: Performance of SimCode: time 9.52e-07/0.5517, allocations: 0 / 1.479 GB, free: 1.973 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06707/0.6188, allocations: 22.4 MB / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/15.66, allocations: 10.8 kB / 1.501 GB, free: 11.79 MB / 1.201 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.26571377599612]