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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 99.11 kB / 16.02 MB, free: 76 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.001205/0.001205, allocations: 182 kB / 16.92 MB, free: 6.918 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 9.719 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3222, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006397/0.3287, allocations: 4.701 MB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1556/0.4843, allocations: 146.7 MB / 1.207 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009751/0.4854, allocations: 15.88 kB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006984/0.4861, allocations: 154.8 kB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.4881, allocations: 481.3 kB / 1.208 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4902, allocations: 0.7254 MB / 1.209 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.492, allocations: 1.326 MB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.493, allocations: 0.5597 MB / 1.21 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.4937, allocations: 362.3 kB / 1.211 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.4944, allocations: 409.8 kB / 1.211 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.4946, allocations: 28 kB / 1.211 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.4955, allocations: 367.7 kB / 1.211 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.4958, allocations: 199 kB / 1.212 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005753/0.4964, allocations: 490.7 kB / 1.212 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.4978, allocations: 1.2 MB / 1.213 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4978, allocations: 4 kB / 1.213 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4978, allocations: 0 / 1.213 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.518e-05/0.4979, allocations: 0 / 1.213 GB, free: 6.652 MB / 0.9669 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.002586/0.5005, allocations: 1.24 MB / 1.215 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5005, allocations: 15.97 kB / 1.215 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5016, allocations: 207.3 kB / 1.215 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.5028, allocations: 0.7547 MB / 1.215 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.5029, allocations: 58 kB / 1.216 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.503, allocations: 84 kB / 1.216 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5048, allocations: 0.9418 MB / 1.217 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.5048, allocations: 0 / 1.217 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.54e-05/0.5049, allocations: 40 kB / 1.217 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.5049, allocations: 23.94 kB / 1.217 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.5068, allocations: 1.132 MB / 1.218 GB, free: 2.031 MB / 0.9669 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.004418/0.5112, allocations: 2.795 MB / 1.22 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.5128, allocations: 0.8121 MB / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.5133, allocations: 314.7 kB / 1.222 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.5134, allocations: 36.59 kB / 1.222 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/0.5143, allocations: 499.1 kB / 1.222 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.946e-06/0.5143, allocations: 4 kB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003201/0.5176, allocations: 1.219 MB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.5177, allocations: 192.5 kB / 1.223 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.5186, allocations: 0.6448 MB / 1.224 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.5187, allocations: 45.7 kB / 1.224 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.5191, allocations: 412.4 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.5193, allocations: 260.2 kB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.5195, allocations: 69.67 kB / 1.225 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.5197, allocations: 390.8 kB / 1.225 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.5202, allocations: 273.8 kB / 1.225 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.5209, allocations: 371.1 kB / 1.226 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.522, allocations: 0.6229 MB / 1.226 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.522, allocations: 3.938 kB / 1.226 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002005/0.524, allocations: 0.876 MB / 1.227 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5241, allocations: 8 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5241, allocations: 0 / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.5247, allocations: 84.8 kB / 1.227 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.5254, allocations: 179.7 kB / 1.228 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.5275, allocations: 1.524 MB / 1.229 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/0.5283, allocations: 107.3 kB / 1.229 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.5284, allocations: 35.98 kB / 1.229 GB, free: 5.879 MB / 0.9825 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.0005296/0.529, allocations: 283.8 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.5292, allocations: 82.97 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.5317, allocations: 1.078 MB / 1.231 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.5317, allocations: 8 kB / 1.231 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5317, allocations: 3.938 kB / 1.231 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5318, allocations: 3.984 kB / 1.231 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.533, allocations: 0.9035 MB / 1.231 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.533, allocations: 0 / 1.231 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.5336, allocations: 159.8 kB / 1.232 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/0.5342, allocations: 80.78 kB / 1.232 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.5343, allocations: 27.97 kB / 1.232 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.5362, allocations: 1.551 MB / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5362, allocations: 144 / 1.233 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.5389, allocations: 1.355 MB / 1.235 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.5394, allocations: 283.8 kB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.5395, allocations: 20 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/0.5403, allocations: 82.05 kB / 1.235 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.5404, allocations: 76.83 kB / 1.235 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.5405, allocations: 39.92 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006538/0.5412, allocations: 467 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5412, allocations: 0 / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009543/0.5422, allocations: 331.2 kB / 1.236 GB, free: 14.83 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 (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.001502/0.5437, allocations: 0.5798 MB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001761/0.5454, allocations: 0.8506 MB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.5455, allocations: 4 kB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009611/0.5464, allocations: 0.52 MB / 1.238 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.5479, allocations: 281.9 kB / 1.238 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.5515, allocations: 2.318 MB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.5522, allocations: 1.035 MB / 1.241 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.5526, allocations: 115.4 kB / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of SimCode: time 4.9e-07/0.5526, allocations: 0 / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.5345/1.087, allocations: 18.63 MB / 1.26 GB, free: 187.8 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) 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) Reference file matches