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.001848/0.001848, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002373/0.002373, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 8 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 2.972/2.972, allocations: 0.49 GB / 0.7959 GB, free: 33.33 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",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.002767/0.002767, allocations: 71.17 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3779, allocations: 176.1 MB / 1.327 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.007362/0.3853, allocations: 5.216 MB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5717, allocations: 154.2 MB / 1.482 GB, free: 1.973 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5727, allocations: 23.81 kB / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008697/0.5735, allocations: 206.2 kB / 1.483 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.576, allocations: 0.5742 MB / 1.483 GB, free: 1.172 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.5785, allocations: 0.8794 MB / 1.484 GB, free: 304 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.5807, allocations: 1.451 MB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.5816, allocations: 434.2 kB / 1.486 GB, free: 14.39 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008979/0.5825, allocations: 0.5139 MB / 1.486 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.5833, allocations: 0.5251 MB / 1.487 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.5835, allocations: 120 kB / 1.487 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.5846, allocations: 0.5074 MB / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.5849, allocations: 318.8 kB / 1.488 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.5855, allocations: 0.583 MB / 1.488 GB, free: 11.82 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.588, allocations: 1.716 MB / 1.49 GB, free: 10.1 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5881, allocations: 3.984 kB / 1.49 GB, free: 10.1 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5881, allocations: 0 / 1.49 GB, free: 10.1 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.5881, allocations: 0 / 1.49 GB, free: 10.1 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.003036/0.5911, allocations: 1.451 MB / 1.491 GB, free: 8.613 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5912, allocations: 12.03 kB / 1.491 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.701e-05/0.5912, allocations: 26.19 kB / 1.491 GB, free: 8.574 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.5914, allocations: 139.6 kB / 1.492 GB, free: 8.43 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.5929, allocations: 240 kB / 1.492 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.5944, allocations: 0.7217 MB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.5945, allocations: 66 kB / 1.493 GB, free: 7.379 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.5946, allocations: 87.98 kB / 1.493 GB, free: 7.293 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.5964, allocations: 0.9339 MB / 1.494 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5964, allocations: 0 / 1.494 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.5965, allocations: 36 kB / 1.494 GB, free: 6.281 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5965, allocations: 20 kB / 1.494 GB, free: 6.262 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5984, allocations: 1.128 MB / 1.495 GB, free: 5.137 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.004767/0.6032, allocations: 2.777 MB / 1.497 GB, free: 2.223 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6048, allocations: 0.761 MB / 1.498 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.6053, allocations: 290.6 kB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.852e-05/0.6054, allocations: 28.61 kB / 1.498 GB, free: 1.141 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009073/0.6063, allocations: 0.4932 MB / 1.499 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 4.147e-06/0.6063, allocations: 3.984 kB / 1.499 GB, free: 0.625 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003479/0.6098, allocations: 1.138 MB / 1.5 GB, free: 15.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.6099, allocations: 192.6 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.611, allocations: 0.6645 MB / 1.501 GB, free: 14.57 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.6111, allocations: 45.7 kB / 1.501 GB, free: 14.52 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.6115, allocations: 417 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.6119, allocations: 285.6 kB / 1.502 GB, free: 13.83 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.6121, allocations: 150.6 kB / 1.502 GB, free: 13.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.6123, allocations: 390.8 kB / 1.502 GB, free: 13.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.6129, allocations: 245.9 kB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007033/0.6136, allocations: 366.5 kB / 1.503 GB, free: 12.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.6147, allocations: 0.5839 MB / 1.503 GB, free: 12.07 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6147, allocations: 7.875 kB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002138/0.6169, allocations: 0.8218 MB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.6169, allocations: 4.094 kB / 1.504 GB, free: 11.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.6169, allocations: 8 kB / 1.504 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.6176, allocations: 80.77 kB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.6183, allocations: 159.7 kB / 1.504 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.6206, allocations: 1.531 MB / 1.506 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008781/0.6215, allocations: 87.55 kB / 1.506 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6216, allocations: 31.98 kB / 1.506 GB, free: 9.211 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.0005775/0.6221, allocations: 266.4 kB / 1.506 GB, free: 8.941 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.6224, allocations: 95.39 kB / 1.506 GB, free: 8.848 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.6251, allocations: 1.066 MB / 1.507 GB, free: 7.762 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.6251, allocations: 12 kB / 1.507 GB, free: 7.75 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6251, allocations: 0 / 1.507 GB, free: 7.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6251, allocations: 11.97 kB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.6265, allocations: 0.8871 MB / 1.508 GB, free: 6.809 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6265, allocations: 4 kB / 1.508 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006632/0.6272, allocations: 159.7 kB / 1.508 GB, free: 6.648 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/0.6277, allocations: 76.72 kB / 1.508 GB, free: 6.57 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.6278, allocations: 23.98 kB / 1.508 GB, free: 6.547 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.6299, allocations: 1.559 MB / 1.51 GB, free: 4.867 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6299, allocations: 4.031 kB / 1.51 GB, free: 4.863 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.6328, allocations: 1.34 MB / 1.511 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.6334, allocations: 211 kB / 1.511 GB, free: 3.297 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.6336, allocations: 19.94 kB / 1.511 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/0.6343, allocations: 71.98 kB / 1.512 GB, free: 3.207 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.6345, allocations: 72.86 kB / 1.512 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.6345, allocations: 31.98 kB / 1.512 GB, free: 3.102 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007371/0.6353, allocations: 487 kB / 1.512 GB, free: 2.633 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6353, allocations: 0 / 1.512 GB, free: 2.633 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001002/0.6363, allocations: 335.1 kB / 1.512 GB, free: 2.305 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.005224/0.6415, allocations: 2.399 MB / 1.515 GB, free: 68 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001933/0.6434, allocations: 0.7806 MB / 1.516 GB, free: 15.27 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6434, allocations: 0 / 1.516 GB, free: 15.27 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.6445, allocations: 0.4924 MB / 1.516 GB, free: 14.77 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.646, allocations: 313.5 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.6591, allocations: 6.455 MB / 1.523 GB, free: 7.867 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008381/0.66, allocations: 1.035 MB / 1.524 GB, free: 6.805 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009976/0.661, allocations: 274.7 kB / 1.524 GB, free: 6.531 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006862/0.6616, allocations: 403.3 kB / 1.524 GB, free: 6.137 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/0.6616, allocations: 0 / 1.524 GB, free: 6.137 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/0.7222, allocations: 22.93 MB / 1.547 GB, free: 15.45 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/16.13, allocations: 0 / 1.547 GB, free: 15.45 MB / 1.248 GB " [Timeout remaining time 284] (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: 22.85464855801547]