Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008354/0.0008354, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008182/0.0008182, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8719/0.8719, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.703/1.703, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 4 kB / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.162e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.005012/0.005043, allocations: 4.506 MB / 0.9866 GB, free: 13.59 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5683/0.5733, allocations: 132.7 MB / 1.116 GB, free: 20.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.5741, allocations: 27.62 kB / 1.116 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.5746, allocations: 203.1 kB / 1.116 GB, free: 20.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.5762, allocations: 0.5882 MB / 1.117 GB, free: 19.93 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.5778, allocations: 0.8611 MB / 1.118 GB, free: 19.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.5794, allocations: 1.459 MB / 1.119 GB, free: 18.7 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.58, allocations: 400.5 kB / 1.12 GB, free: 18.47 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009617/0.581, allocations: 0.736 MB / 1.12 GB, free: 18.12 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.5815, allocations: 409.2 kB / 1.121 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.5816, allocations: 122.8 kB / 1.121 GB, free: 17.97 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009411/0.5825, allocations: 0.4908 MB / 1.121 GB, free: 17.86 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.5828, allocations: 304.5 kB / 1.122 GB, free: 17.66 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.5831, allocations: 399.6 kB / 1.122 GB, free: 17.46 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.5853, allocations: 1.794 MB / 1.124 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5853, allocations: 0 / 1.124 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5853, allocations: 0 / 1.124 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.5853, allocations: 0 / 1.124 GB, free: 16.71 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001994/0.5873, allocations: 1.428 MB / 1.125 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5873, allocations: 9.438 kB / 1.125 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.5882, allocations: 234 kB / 1.125 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/0.5892, allocations: 0.7222 MB / 1.126 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.5892, allocations: 66.95 kB / 1.126 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.5893, allocations: 90.08 kB / 1.126 GB, free: 15.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5904, allocations: 1.187 MB / 1.127 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5904, allocations: 0 / 1.127 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.5905, allocations: 38.23 kB / 1.127 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5905, allocations: 20.62 kB / 1.127 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.5918, allocations: 1.062 MB / 1.128 GB, free: 14.16 MB / 0.9948 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.002857/0.5946, allocations: 2.28 MB / 1.131 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.5957, allocations: 0.7852 MB / 1.131 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.596, allocations: 292.3 kB / 1.132 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.199e-05/0.5961, allocations: 25.64 kB / 1.132 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006403/0.5967, allocations: 0.6017 MB / 1.132 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=86): time 2.986e-06/0.5967, allocations: 0 / 1.132 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=86): time 0.002036/0.5988, allocations: 1.155 MB / 1.133 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.5988, allocations: 200 kB / 1.134 GB, free: 11.4 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.5995, allocations: 0.6146 MB / 1.134 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.5996, allocations: 57.67 kB / 1.134 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.5998, allocations: 411.3 kB / 1.135 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.5999, allocations: 281.4 kB / 1.135 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.6001, allocations: 183.3 kB / 1.135 GB, free: 10.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.344e-05/0.6002, allocations: 387.4 kB / 1.136 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.6006, allocations: 286.3 kB / 1.136 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.601, allocations: 0.5137 MB / 1.136 GB, free: 9.664 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.6018, allocations: 0.6476 MB / 1.137 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6018, allocations: 3.375 kB / 1.137 GB, free: 9.355 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001337/0.6032, allocations: 0.9188 MB / 1.138 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6032, allocations: 5.062 kB / 1.138 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.6032, allocations: 1.062 kB / 1.138 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.6035, allocations: 81.42 kB / 1.138 GB, free: 8.973 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.604, allocations: 168.8 kB / 1.138 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.6052, allocations: 1.505 MB / 1.14 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.6057, allocations: 84.75 kB / 1.14 GB, free: 7.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.6058, allocations: 41.08 kB / 1.14 GB, free: 7.527 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0004237/0.6062, allocations: 275.8 kB / 1.14 GB, free: 7.324 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6063, allocations: 91.53 kB / 1.14 GB, free: 7.273 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.6078, allocations: 1.083 MB / 1.141 GB, free: 6.844 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.6078, allocations: 13.55 kB / 1.141 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6078, allocations: 8.375 kB / 1.141 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6078, allocations: 4.781 kB / 1.141 GB, free: 6.836 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.6102, allocations: 1.869 MB / 1.143 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6102, allocations: 1.094 kB / 1.143 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.6105, allocations: 147.6 kB / 1.143 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.6108, allocations: 73.69 kB / 1.143 GB, free: 5.898 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.6108, allocations: 26.39 kB / 1.143 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/0.6118, allocations: 1.523 MB / 1.145 GB, free: 4.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6118, allocations: 3.938 kB / 1.145 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.6131, allocations: 1.023 MB / 1.146 GB, free: 4.031 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/0.6134, allocations: 201.3 kB / 1.146 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-05/0.6135, allocations: 22.91 kB / 1.146 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.6138, allocations: 65.94 kB / 1.146 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.614, allocations: 76.16 kB / 1.146 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.614, allocations: 42.02 kB / 1.146 GB, free: 3.863 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004527/0.6145, allocations: 445.3 kB / 1.146 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-07/0.6145, allocations: 0 / 1.146 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008899/0.6153, allocations: 345.9 kB / 1.147 GB, free: 3.562 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001104/0.6164, allocations: 0.6447 MB / 1.147 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.6178, allocations: 0.8351 MB / 1.148 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6178, allocations: 1.312 kB / 1.148 GB, free: 2.977 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005807/0.6183, allocations: 0.5003 MB / 1.149 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.6192, allocations: 292.3 kB / 1.149 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.6214, allocations: 1.747 MB / 1.151 GB, free: 1.715 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.6218, allocations: 447.1 kB / 1.151 GB, free: 1.582 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.622, allocations: 116.2 kB / 1.151 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of SimCode: time 1.302e-06/0.6221, allocations: 3.938 kB / 1.151 GB, free: 1.559 MB / 0.9948 GB Notification: Performance of Templates: time 0.0256/0.6476, allocations: 19.28 MB / 1.17 GB, free: 13.38 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.836999792605639]