Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.7 MB / 0.7452 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.47 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3132, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007902/0.3211, allocations: 5.235 MB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.4803, allocations: 150.7 MB / 1.22 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.4814, allocations: 23.81 kB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.4823, allocations: 202.1 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.4844, allocations: 0.5666 MB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.4865, allocations: 0.8404 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.4882, allocations: 1.44 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.4892, allocations: 0.6034 MB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007838/0.49, allocations: 0.5022 MB / 1.225 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.4907, allocations: 0.5212 MB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.4909, allocations: 124 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009053/0.4918, allocations: 463.6 kB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.4921, allocations: 307 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.4927, allocations: 0.5869 MB / 1.226 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.4944, allocations: 1.643 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4944, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.766e-06/0.4945, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.4945, allocations: 3.938 kB / 1.228 GB, free: 6.07 MB / 0.9825 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.002432/0.4969, allocations: 1.489 MB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.497, allocations: 8.031 kB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.4979, allocations: 199.3 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.499, allocations: 0.7623 MB / 1.23 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.499, allocations: 66 kB / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.4991, allocations: 87.98 kB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5007, allocations: 0.9535 MB / 1.232 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5007, allocations: 3.938 kB / 1.232 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.5008, allocations: 40 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.5008, allocations: 24 kB / 1.232 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.5026, allocations: 1.136 MB / 1.233 GB, free: 1.176 MB / 0.9825 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.003962/0.5066, allocations: 2.81 MB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5081, allocations: 0.8436 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.5087, allocations: 318.7 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.237e-05/0.5088, allocations: 32.67 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009832/0.5097, allocations: 0.514 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.877e-06/0.5098, allocations: 0 / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.003458/0.5132, allocations: 1.239 MB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.5134, allocations: 192.9 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.5143, allocations: 0.6528 MB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.288e-05/0.5144, allocations: 41.7 kB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.5147, allocations: 416.4 kB / 1.24 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.515, allocations: 276 kB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.5152, allocations: 174.5 kB / 1.24 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5154, allocations: 386.8 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.516, allocations: 277.8 kB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/0.5166, allocations: 379.1 kB / 1.241 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.5178, allocations: 0.6242 MB / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5178, allocations: 0 / 1.242 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00206/0.5199, allocations: 0.8916 MB / 1.243 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5199, allocations: 8.094 kB / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.5199, allocations: 0 / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.5206, allocations: 80.78 kB / 1.243 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.5213, allocations: 175.8 kB / 1.243 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5235, allocations: 1.642 MB / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.5243, allocations: 88.58 kB / 1.244 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.395e-05/0.5244, allocations: 39.97 kB / 1.244 GB, free: 4.684 MB / 0.9981 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.0004547/0.5249, allocations: 269.8 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.5251, allocations: 86.97 kB / 1.245 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.5276, allocations: 1.113 MB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5276, allocations: 8 kB / 1.246 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5276, allocations: 0 / 1.246 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5276, allocations: 7.969 kB / 1.246 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.5287, allocations: 0.9191 MB / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5287, allocations: 0 / 1.247 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.5294, allocations: 155.7 kB / 1.247 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/0.5299, allocations: 76.72 kB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.5299, allocations: 27.98 kB / 1.247 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.5318, allocations: 1.662 MB / 1.249 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5318, allocations: 4.094 kB / 1.249 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5885/1.12, allocations: 1.359 MB / 1.25 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/1.121, allocations: 278.5 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.121, allocations: 23.05 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/1.122, allocations: 62.39 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/1.122, allocations: 74.38 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/1.122, allocations: 38.02 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007264/1.123, allocations: 471.7 kB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.273e-06/1.123, allocations: 0.75 kB / 1.251 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00105/1.124, allocations: 340.6 kB / 1.251 GB, free: 183.7 MB / 0.9981 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.001422/1.125, allocations: 0.598 MB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002722/1.128, allocations: 1.067 MB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.128, allocations: 0.9688 kB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.129, allocations: 0.5305 MB / 1.253 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.131, allocations: 314.6 kB / 1.254 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/1.134, allocations: 1.868 MB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/1.135, allocations: 1.044 MB / 1.257 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008657/1.135, allocations: 272.9 kB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/1.136, allocations: 109.2 kB / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.136, allocations: 0 / 1.257 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03268/1.168, allocations: 15.43 MB / 1.272 GB, free: 179.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches