Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.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.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") translateModel(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conExt.1..opa.T.1.|conExt.1..opa.T.2.|conExt.1..opa.T.3.|conExt.1..opa.T.4.|conExt.1..opa.T.5.|bouConExt.weaBus.TDryBul",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 110.4 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 197.2 kB / 16.91 MB, free: 6.184 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 482.4 MB / 0.755 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 72.89 kB / 0.924 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9044/0.9065, allocations: 162.2 MB / 1.082 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01347/0.92, allocations: 9.779 MB / 1.092 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2123/1.132, allocations: 152.4 MB / 1.241 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004049/1.136, allocations: 39.81 kB / 1.241 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004445/1.141, allocations: 1.042 MB / 1.242 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/1.146, allocations: 1.037 MB / 1.243 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00542/1.151, allocations: 1.541 MB / 1.244 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007599/1.159, allocations: 4.965 MB / 1.249 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003448/1.163, allocations: 1.791 MB / 1.251 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/1.167, allocations: 2.103 MB / 1.253 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/1.17, allocations: 1.817 MB / 1.255 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/1.172, allocations: 380 kB / 1.255 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/1.175, allocations: 1.136 MB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001722/1.177, allocations: 0.9854 MB / 1.257 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003691/1.18, allocations: 1.793 MB / 1.259 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007312/1.188, allocations: 4.471 MB / 1.263 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.188, allocations: 0 / 1.263 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.765e-06/1.188, allocations: 0 / 1.263 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002168/1.188, allocations: 0 / 1.263 GB, free: 5.348 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: 502 * Number of variables: 502 Notification: Performance of Generate backend data structure: time 0.01141/1.199, allocations: 4.111 MB / 1.267 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.199, allocations: 8.031 kB / 1.267 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008233/1.208, allocations: 1.577 MB / 1.269 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005332/1.213, allocations: 2.593 MB / 1.271 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/1.213, allocations: 185.6 kB / 1.272 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/1.214, allocations: 212 kB / 1.272 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007451/1.221, allocations: 3.315 MB / 1.275 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/1.221, allocations: 3.938 kB / 1.275 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/1.221, allocations: 84 kB / 1.275 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.222, allocations: 48 kB / 1.275 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009038/1.231, allocations: 3.956 MB / 1.279 GB, free: 5.055 MB / 0.9981 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.02146/1.252, allocations: 10.7 MB / 1.29 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007409/1.26, allocations: 2.928 MB / 1.292 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/1.263, allocations: 1.383 MB / 1.294 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007933/1.263, allocations: 491.1 kB / 1.294 GB, free: 5.074 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003497/1.267, allocations: 1.621 MB / 1.296 GB, free: 3.434 MB / 1.014 GB Notification: Performance of pre-optimization done (n=166): time 3.056e-06/1.267, allocations: 0 / 1.296 GB, free: 3.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=166): time 0.01224/1.279, allocations: 4.742 MB / 1.3 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.279, allocations: 197.2 kB / 1.301 GB, free: 14.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/1.285, allocations: 3.173 MB / 1.304 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0005301/1.285, allocations: 61.7 kB / 1.304 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.287, allocations: 1.138 MB / 1.305 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008422/1.287, allocations: 0.5352 MB / 1.305 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.288, allocations: 431.2 kB / 1.306 GB, free: 8.977 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.288, allocations: 309.1 kB / 1.306 GB, free: 8.672 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/1.292, allocations: 1.374 MB / 1.307 GB, free: 7.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003538/1.295, allocations: 1.776 MB / 1.309 GB, free: 5.375 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/1.302, allocations: 2.991 MB / 1.312 GB, free: 2.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.302, allocations: 4 kB / 1.312 GB, free: 2.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009209/1.311, allocations: 3.714 MB / 1.316 GB, free: 14.5 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.311, allocations: 10.5 kB / 1.316 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/1.311, allocations: 16.2 kB / 1.316 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.313, allocations: 391 kB / 1.316 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/1.316, allocations: 0.5498 MB / 1.317 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/1.322, allocations: 5.743 MB / 1.322 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/1.327, allocations: 0.4899 MB / 1.323 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008697/1.328, allocations: 91.94 kB / 1.323 GB, free: 6.762 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 23 (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,bouConExt.HDifTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDifTil[1].incAng.decAng.tNext,bouConExt.HDirTil[1].incAng.decAng.tNext,$PRE.bouConExt.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003913/1.332, allocations: 1.125 MB / 1.324 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.333, allocations: 244.9 kB / 1.324 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.344, allocations: 3.552 MB / 1.328 GB, free: 1.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.749e-05/1.344, allocations: 23.98 kB / 1.328 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.344, allocations: 3.938 kB / 1.328 GB, free: 1.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/1.344, allocations: 7.969 kB / 1.328 GB, free: 1.773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005336/1.349, allocations: 2.978 MB / 1.331 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/1.349, allocations: 3.938 kB / 1.331 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/1.351, allocations: 431.3 kB / 1.331 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/1.353, allocations: 371 kB / 1.331 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/1.354, allocations: 59.94 kB / 1.331 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/1.36, allocations: 5.738 MB / 1.337 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.36, allocations: 3.938 kB / 1.337 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/1.372, allocations: 4.918 MB / 1.342 GB, free: 2.734 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002131/1.374, allocations: 0.7864 MB / 1.343 GB, free: 1.926 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005522/1.374, allocations: 55.83 kB / 1.343 GB, free: 1.871 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.377, allocations: 315.5 kB / 1.343 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/1.377, allocations: 133.8 kB / 1.343 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.377, allocations: 71.94 kB / 1.343 GB, free: 1.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003754/1.381, allocations: 2.251 MB / 1.345 GB, free: 15.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.51e-07/1.381, allocations: 0 / 1.345 GB, free: 15.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003036/1.384, allocations: 0.877 MB / 1.346 GB, free: 14.22 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (conExt[1].opa.lay[1].T[1],conExt[1].opa.lay[1].T[2],conExt[1].opa.lay[2].T[1],conExt[1].opa.lay[2].T[2],conExt[1].opa.lay[2].T[3]) * Number of discrete variables: 14 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 7 (bouConExt.HDirTil[1].incAng.decAng.tNext,bouConExt.HDifTil[1].incAng.decAng.tNext,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 (172): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/1.386, allocations: 0.6953 MB / 1.347 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.398, allocations: 4.876 MB / 1.352 GB, free: 8.785 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/1.398, allocations: 0 / 1.352 GB, free: 8.785 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003938/1.402, allocations: 1.831 MB / 1.353 GB, free: 6.922 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.406, allocations: 0.8424 MB / 1.354 GB, free: 6.109 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.419, allocations: 7.553 MB / 1.362 GB, free: 14.52 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00211/1.421, allocations: 2.23 MB / 1.364 GB, free: 12.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.423, allocations: 251.3 kB / 1.364 GB, free: 12.01 MB / 1.092 GB Notification: Performance of SimCode: time 7.21e-07/1.423, allocations: 7.938 kB / 1.364 GB, free: 12 MB / 1.092 GB Notification: Performance of Templates: time 0.1424/1.565, allocations: 113.1 MB / 1.475 GB, free: 10.89 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches