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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 496.2 MB / 0.7819 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 1.136 GB, free: 12.52 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 173.6 MB / 1.305 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.005738/1.053, allocations: 5.191 MB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1988/1.252, allocations: 151.2 MB / 1.458 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009096/1.253, allocations: 15.69 kB / 1.458 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/1.253, allocations: 198.6 kB / 1.458 GB, free: 15.79 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/1.255, allocations: 0.5626 MB / 1.459 GB, free: 15.46 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/1.258, allocations: 0.8651 MB / 1.46 GB, free: 14.97 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002202/1.26, allocations: 1.424 MB / 1.461 GB, free: 14.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008746/1.261, allocations: 428.5 kB / 1.462 GB, free: 13.97 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009912/1.262, allocations: 499.8 kB / 1.462 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007971/1.263, allocations: 0.5117 MB / 1.463 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/1.263, allocations: 118.2 kB / 1.463 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.264, allocations: 492.1 kB / 1.463 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/1.264, allocations: 301.5 kB / 1.463 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006194/1.265, allocations: 0.5785 MB / 1.464 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/1.268, allocations: 1.671 MB / 1.466 GB, free: 12.05 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.268, allocations: 0 / 1.466 GB, free: 12.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.773e-06/1.268, allocations: 0 / 1.466 GB, free: 12.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.241e-05/1.268, allocations: 0 / 1.466 GB, free: 12.05 MB / 1.154 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.004015/1.272, allocations: 1.499 MB / 1.467 GB, free: 11.03 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/1.272, allocations: 9.234 kB / 1.467 GB, free: 11.03 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/1.273, allocations: 197.5 kB / 1.467 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/1.275, allocations: 0.7896 MB / 1.468 GB, free: 10.44 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/1.275, allocations: 62.8 kB / 1.468 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/1.275, allocations: 83.84 kB / 1.468 GB, free: 10.38 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/1.277, allocations: 0.9369 MB / 1.469 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/1.277, allocations: 0 / 1.469 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.277, allocations: 45.58 kB / 1.469 GB, free: 9.809 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/1.277, allocations: 21.25 kB / 1.469 GB, free: 9.809 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.28, allocations: 1.122 MB / 1.47 GB, free: 9.273 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.004824/1.285, allocations: 2.807 MB / 1.473 GB, free: 6.992 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.286, allocations: 0.7625 MB / 1.474 GB, free: 6.598 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005752/1.287, allocations: 287.1 kB / 1.474 GB, free: 6.445 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/1.287, allocations: 30.94 kB / 1.474 GB, free: 6.43 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009203/1.288, allocations: 0.4977 MB / 1.474 GB, free: 6.102 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 1.994e-06/1.288, allocations: 1.375 kB / 1.474 GB, free: 6.102 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003403/1.291, allocations: 1.206 MB / 1.476 GB, free: 5.453 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.291, allocations: 197.5 kB / 1.476 GB, free: 5.227 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/1.292, allocations: 0.6392 MB / 1.476 GB, free: 4.852 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/1.292, allocations: 46.7 kB / 1.477 GB, free: 4.805 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/1.293, allocations: 413.8 kB / 1.477 GB, free: 4.441 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/1.293, allocations: 283.3 kB / 1.477 GB, free: 4.195 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/1.293, allocations: 163.8 kB / 1.477 GB, free: 4.098 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002029/1.293, allocations: 385.9 kB / 1.478 GB, free: 3.73 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/1.294, allocations: 277 kB / 1.478 GB, free: 3.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/1.295, allocations: 370.2 kB / 1.478 GB, free: 3.379 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/1.296, allocations: 0.6081 MB / 1.479 GB, free: 3.055 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.296, allocations: 4 kB / 1.479 GB, free: 3.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002084/1.298, allocations: 0.8637 MB / 1.48 GB, free: 2.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.298, allocations: 5.844 kB / 1.48 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.298, allocations: 5.266 kB / 1.48 GB, free: 2.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/1.299, allocations: 88.05 kB / 1.48 GB, free: 2.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000706/1.299, allocations: 167 kB / 1.48 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.302, allocations: 1.627 MB / 1.482 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/1.302, allocations: 103.2 kB / 1.482 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/1.303, allocations: 31.3 kB / 1.482 GB, free: 0.8438 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (97): * Single equations (assignments): 96 * 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.0005213/1.303, allocations: 282.3 kB / 1.482 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/1.303, allocations: 88.44 kB / 1.482 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/1.306, allocations: 1.069 MB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/1.306, allocations: 9.594 kB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/1.306, allocations: 1.344 kB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.306, allocations: 3.984 kB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/1.307, allocations: 0.9012 MB / 1.484 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.307, allocations: 1.188 kB / 1.484 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/1.308, allocations: 152.8 kB / 1.484 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/1.308, allocations: 77.52 kB / 1.484 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/1.308, allocations: 28.59 kB / 1.484 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/1.31, allocations: 1.662 MB / 1.486 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.31, allocations: 3.938 kB / 1.486 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/1.313, allocations: 1.331 MB / 1.487 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/1.313, allocations: 284.6 kB / 1.487 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.314, allocations: 26.25 kB / 1.488 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/1.314, allocations: 58.31 kB / 1.488 GB, free: 12.56 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.314, allocations: 73.83 kB / 1.488 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/1.314, allocations: 34.8 kB / 1.488 GB, free: 12.51 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006475/1.315, allocations: 469.4 kB / 1.488 GB, free: 12.24 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.315, allocations: 0 / 1.488 GB, free: 12.24 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001076/1.316, allocations: 332.8 kB / 1.488 GB, free: 12.14 MB / 1.17 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.001966/1.318, allocations: 0.5972 MB / 1.489 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.32, allocations: 0.8118 MB / 1.49 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.32, allocations: 3.984 kB / 1.49 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/1.321, allocations: 496.2 kB / 1.49 GB, free: 10.48 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.322, allocations: 313.6 kB / 1.491 GB, free: 10.2 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/1.325, allocations: 1.821 MB / 1.492 GB, free: 8.344 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/1.326, allocations: 1.027 MB / 1.493 GB, free: 7.285 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008408/1.327, allocations: 258.8 kB / 1.494 GB, free: 7.027 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/1.327, allocations: 115.4 kB / 1.494 GB, free: 6.914 MB / 1.17 GB Notification: Performance of SimCode: time 8.42e-07/1.327, allocations: 0 / 1.494 GB, free: 6.914 MB / 1.17 GB Notification: Performance of Templates: time 0.0289/1.356, allocations: 15.71 MB / 1.509 GB, free: 7.355 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.csv","/var/lib/jenkins/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: 9.969995382241905]