Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001703/0.001703, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001486/0.001486, allocations: 159.1 kB / 23.01 MB, free: 4.602 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.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.812/2.812, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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: translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walCap.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") [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.00215/0.00215, allocations: 59.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9272/0.9293, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005848/0.9352, allocations: 4.772 MB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2139/1.149, allocations: 132.8 MB / 1.288 GB, free: 4.672 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000937/1.15, allocations: 24.28 kB / 1.288 GB, free: 4.66 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007241/1.151, allocations: 206.9 kB / 1.288 GB, free: 4.52 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/1.153, allocations: 0.5834 MB / 1.289 GB, free: 4.168 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/1.155, allocations: 0.8689 MB / 1.29 GB, free: 3.691 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001849/1.157, allocations: 1.479 MB / 1.291 GB, free: 2.918 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008139/1.158, allocations: 411.7 kB / 1.292 GB, free: 2.68 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008136/1.159, allocations: 0.5332 MB / 1.292 GB, free: 2.414 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/1.159, allocations: 490.1 kB / 1.293 GB, free: 2.188 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/1.159, allocations: 122.9 kB / 1.293 GB, free: 2.188 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/1.161, allocations: 497.7 kB / 1.293 GB, free: 2.074 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003976/1.161, allocations: 320.2 kB / 1.294 GB, free: 1.867 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006218/1.162, allocations: 483.5 kB / 1.294 GB, free: 1.594 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00283/1.165, allocations: 1.749 MB / 1.296 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.165, allocations: 1.125 kB / 1.296 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.783e-06/1.165, allocations: 0 / 1.296 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.125e-05/1.165, allocations: 4 kB / 1.296 GB, free: 0.8516 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003272/1.168, allocations: 1.482 MB / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/1.168, allocations: 9.594 kB / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.17, allocations: 239.4 kB / 1.297 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/1.171, allocations: 0.7422 MB / 1.298 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/1.171, allocations: 65.8 kB / 1.298 GB, free: 15.31 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/1.171, allocations: 86.05 kB / 1.298 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.173, allocations: 1.204 MB / 1.299 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.173, allocations: 0 / 1.299 GB, free: 14.38 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.173, allocations: 41.38 kB / 1.3 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/1.173, allocations: 21.38 kB / 1.3 GB, free: 14.34 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/1.176, allocations: 1.094 MB / 1.301 GB, free: 13.8 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.004387/1.18, allocations: 2.18 MB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.182, allocations: 0.7897 MB / 1.304 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/1.182, allocations: 296.9 kB / 1.304 GB, free: 11.62 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.001e-05/1.182, allocations: 27.78 kB / 1.304 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.183, allocations: 0.6108 MB / 1.304 GB, free: 11.15 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.535e-06/1.183, allocations: 0 / 1.304 GB, free: 11.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.00344/1.187, allocations: 1.164 MB / 1.306 GB, free: 10.58 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.187, allocations: 194.2 kB / 1.306 GB, free: 10.36 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/1.188, allocations: 0.6299 MB / 1.306 GB, free: 9.984 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/1.188, allocations: 43.08 kB / 1.306 GB, free: 9.941 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/1.188, allocations: 432.2 kB / 1.307 GB, free: 9.562 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/1.189, allocations: 289.4 kB / 1.307 GB, free: 9.312 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/1.189, allocations: 168.8 kB / 1.307 GB, free: 9.211 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002364/1.189, allocations: 385.2 kB / 1.308 GB, free: 8.844 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.19, allocations: 281.4 kB / 1.308 GB, free: 8.707 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/1.191, allocations: 0.4934 MB / 1.308 GB, free: 8.332 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.192, allocations: 0.6334 MB / 1.309 GB, free: 7.992 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.192, allocations: 0 / 1.309 GB, free: 7.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002327/1.194, allocations: 0.8866 MB / 1.31 GB, free: 7.539 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/1.194, allocations: 9.5 kB / 1.31 GB, free: 7.535 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.194, allocations: 0 / 1.31 GB, free: 7.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006794/1.195, allocations: 81.48 kB / 1.31 GB, free: 7.496 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/1.196, allocations: 178.1 kB / 1.31 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/1.198, allocations: 1.51 MB / 1.312 GB, free: 6.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/1.199, allocations: 81.58 kB / 1.312 GB, free: 5.957 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.094e-05/1.199, allocations: 40.03 kB / 1.312 GB, free: 5.941 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 (100): * Single equations (assignments): 99 * 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.0006835/1.2, allocations: 281.5 kB / 1.312 GB, free: 5.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/1.2, allocations: 91.03 kB / 1.312 GB, free: 5.672 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.203, allocations: 1.091 MB / 1.313 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.203, allocations: 9.875 kB / 1.313 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.203, allocations: 0 / 1.313 GB, free: 5.059 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.203, allocations: 13 kB / 1.313 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.204, allocations: 0.6597 MB / 1.314 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.204, allocations: 0 / 1.314 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/1.205, allocations: 151.8 kB / 1.314 GB, free: 4.352 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/1.205, allocations: 72.78 kB / 1.314 GB, free: 4.277 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/1.206, allocations: 35.92 kB / 1.314 GB, free: 4.242 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.208, allocations: 1.524 MB / 1.316 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.208, allocations: 0 / 1.316 GB, free: 2.609 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/1.211, allocations: 1.372 MB / 1.317 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005228/1.211, allocations: 207 kB / 1.317 GB, free: 1.012 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.211, allocations: 20 kB / 1.317 GB, free: 0.9922 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006849/1.212, allocations: 61.88 kB / 1.317 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.212, allocations: 80.84 kB / 1.317 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-05/1.212, allocations: 39.92 kB / 1.317 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007016/1.213, allocations: 455 kB / 1.318 GB, free: 384 kB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.213, allocations: 0 / 1.318 GB, free: 384 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001156/1.214, allocations: 347.1 kB / 1.318 GB, free: 36 kB / 1.154 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 (96): * Single equations (assignments): 90 * 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.002303/1.216, allocations: 0.6377 MB / 1.319 GB, free: 15.6 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.218, allocations: 0.8195 MB / 1.319 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.219, allocations: 8 kB / 1.319 GB, free: 14.76 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.22, allocations: 0.5003 MB / 1.32 GB, free: 14.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.221, allocations: 292.9 kB / 1.32 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/1.225, allocations: 1.897 MB / 1.322 GB, free: 12.06 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.226, allocations: 464.5 kB / 1.322 GB, free: 11.58 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009309/1.226, allocations: 258.7 kB / 1.323 GB, free: 11.32 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/1.227, allocations: 104.5 kB / 1.323 GB, free: 11.22 MB / 1.17 GB Notification: Performance of SimCode: time 1.372e-06/1.227, allocations: 0 / 1.323 GB, free: 11.22 MB / 1.17 GB Notification: Performance of Templates: time 0.03132/1.258, allocations: 15.58 MB / 1.338 GB, free: 11.92 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.637153459014371]