Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001326/0.001326, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001449/0.001449, allocations: 215 kB / 20.13 MB, free: 2.949 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 0.5003 GB / 0.8026 GB, free: 6.871 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_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.00195/0.00195, allocations: 63.91 kB / 1.165 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8802, allocations: 178.9 MB / 1.34 GB, free: 16.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005845/0.886, allocations: 5.198 MB / 1.345 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1861/1.072, allocations: 154 MB / 1.496 GB, free: 8.176 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/1.073, allocations: 24.12 kB / 1.496 GB, free: 8.164 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007961/1.074, allocations: 203.1 kB / 1.496 GB, free: 7.984 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/1.077, allocations: 0.5734 MB / 1.496 GB, free: 7.555 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/1.079, allocations: 0.8655 MB / 1.497 GB, free: 6.898 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00214/1.082, allocations: 1.442 MB / 1.499 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/1.082, allocations: 437.5 kB / 1.499 GB, free: 5.465 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000923/1.083, allocations: 0.51 MB / 1.5 GB, free: 4.953 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/1.084, allocations: 0.529 MB / 1.5 GB, free: 4.422 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.084, allocations: 120 kB / 1.5 GB, free: 4.305 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/1.085, allocations: 0.5113 MB / 1.501 GB, free: 3.793 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/1.086, allocations: 314.9 kB / 1.501 GB, free: 3.484 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005824/1.086, allocations: 0.5829 MB / 1.502 GB, free: 2.898 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/1.089, allocations: 1.708 MB / 1.503 GB, free: 1.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/1.089, allocations: 3.938 kB / 1.503 GB, free: 1.18 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/1.089, allocations: 0 / 1.503 GB, free: 1.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.968e-05/1.089, allocations: 0 / 1.503 GB, free: 1.18 MB / 1.17 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.002926/1.092, allocations: 1.538 MB / 1.505 GB, free: 15.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.092, allocations: 12.03 kB / 1.505 GB, free: 15.57 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.407e-05/1.092, allocations: 22.19 kB / 1.505 GB, free: 15.55 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/1.092, allocations: 139.6 kB / 1.505 GB, free: 15.41 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/1.094, allocations: 236 kB / 1.505 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/1.095, allocations: 0.7977 MB / 1.506 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/1.095, allocations: 66 kB / 1.506 GB, free: 14.27 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.095, allocations: 83.95 kB / 1.506 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.097, allocations: 0.9379 MB / 1.507 GB, free: 13.21 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.097, allocations: 3.938 kB / 1.507 GB, free: 13.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/1.097, allocations: 39.98 kB / 1.507 GB, free: 13.17 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.097, allocations: 28 kB / 1.507 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/1.099, allocations: 1.12 MB / 1.508 GB, free: 12.02 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.004484/1.103, allocations: 2.827 MB / 1.511 GB, free: 9.062 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/1.105, allocations: 0.7613 MB / 1.512 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/1.105, allocations: 280.9 kB / 1.512 GB, free: 8.027 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-05/1.106, allocations: 36.59 kB / 1.512 GB, free: 7.992 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009024/1.106, allocations: 497 kB / 1.512 GB, free: 7.488 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.126e-06/1.106, allocations: 0 / 1.512 GB, free: 7.488 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003481/1.11, allocations: 1.221 MB / 1.514 GB, free: 6.238 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.11, allocations: 196.6 kB / 1.514 GB, free: 6.004 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.111, allocations: 0.6646 MB / 1.514 GB, free: 5.328 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/1.111, allocations: 41.7 kB / 1.514 GB, free: 5.281 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/1.112, allocations: 425 kB / 1.515 GB, free: 4.859 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.112, allocations: 277.6 kB / 1.515 GB, free: 4.586 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/1.112, allocations: 150.6 kB / 1.515 GB, free: 4.434 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.112, allocations: 386.7 kB / 1.516 GB, free: 4.047 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/1.113, allocations: 249.9 kB / 1.516 GB, free: 3.801 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006462/1.113, allocations: 362.5 kB / 1.516 GB, free: 3.422 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.115, allocations: 0.5955 MB / 1.517 GB, free: 2.812 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.115, allocations: 4 kB / 1.517 GB, free: 2.809 MB / 1.186 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002032/1.117, allocations: 0.8217 MB / 1.518 GB, free: 1.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.117, allocations: 8 kB / 1.518 GB, free: 1.973 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.117, allocations: 3.938 kB / 1.518 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/1.117, allocations: 80.86 kB / 1.518 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/1.118, allocations: 159.8 kB / 1.518 GB, free: 1.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/1.12, allocations: 1.636 MB / 1.519 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/1.121, allocations: 91.58 kB / 1.52 GB, free: 15.86 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.121, allocations: 27.98 kB / 1.52 GB, free: 15.83 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.0004845/1.121, allocations: 279.4 kB / 1.52 GB, free: 15.55 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/1.122, allocations: 87.44 kB / 1.52 GB, free: 15.46 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/1.124, allocations: 1.07 MB / 1.521 GB, free: 14.39 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.124, allocations: 12 kB / 1.521 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.124, allocations: 0 / 1.521 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.124, allocations: 3.984 kB / 1.521 GB, free: 14.37 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/1.125, allocations: 0.9232 MB / 1.522 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.125, allocations: 0 / 1.522 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/1.126, allocations: 151.7 kB / 1.522 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/1.126, allocations: 72.78 kB / 1.522 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/1.126, allocations: 27.98 kB / 1.522 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.128, allocations: 1.659 MB / 1.524 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.128, allocations: 7.969 kB / 1.524 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/1.131, allocations: 1.34 MB / 1.525 GB, free: 9.969 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/1.132, allocations: 284.2 kB / 1.525 GB, free: 9.672 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.132, allocations: 23.94 kB / 1.525 GB, free: 9.648 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/1.132, allocations: 65.72 kB / 1.525 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.133, allocations: 68.89 kB / 1.525 GB, free: 9.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.133, allocations: 35.98 kB / 1.526 GB, free: 9.484 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006618/1.133, allocations: 487 kB / 1.526 GB, free: 9.012 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.133, allocations: 0 / 1.526 GB, free: 9.012 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009071/1.134, allocations: 331.1 kB / 1.526 GB, free: 8.688 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.005143/1.139, allocations: 2.401 MB / 1.529 GB, free: 6.438 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.141, allocations: 0.7767 MB / 1.529 GB, free: 5.648 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.141, allocations: 0 / 1.529 GB, free: 5.648 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.142, allocations: 0.4963 MB / 1.53 GB, free: 5.141 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/1.144, allocations: 302 kB / 1.53 GB, free: 4.863 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.156, allocations: 6.457 MB / 1.536 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/1.157, allocations: 1.035 MB / 1.537 GB, free: 13.19 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008988/1.158, allocations: 270.8 kB / 1.538 GB, free: 12.92 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/1.158, allocations: 407.3 kB / 1.538 GB, free: 12.52 MB / 1.217 GB Notification: Performance of SimCode: time 8.21e-07/1.158, allocations: 4 kB / 1.538 GB, free: 12.52 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05666/1.215, allocations: 22.36 MB / 1.56 GB, free: 6.422 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.62, allocations: 11.67 kB / 1.56 GB, free: 6.41 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.191668482962996]