Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001571/0.001571, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001688/0.001688, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7758, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.009138/0.785, allocations: 8.39 MB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.9666, allocations: 154.5 MB / 1.248 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.9689, allocations: 48.03 kB / 1.248 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.9724, allocations: 1.111 MB / 1.249 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.9763, allocations: 1.032 MB / 1.25 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.981, allocations: 1.693 MB / 1.251 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005909/0.987, allocations: 4.645 MB / 1.256 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.9897, allocations: 1.841 MB / 1.258 GB, free: 416 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.9927, allocations: 2.018 MB / 1.26 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.9955, allocations: 1.689 MB / 1.261 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009371/0.9964, allocations: 368 kB / 1.262 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.999, allocations: 1.171 MB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/1, allocations: 0.9855 MB / 1.264 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002579/1.003, allocations: 1.738 MB / 1.266 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006911/1.01, allocations: 5.43 MB / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.01, allocations: 0 / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/1.01, allocations: 0 / 1.271 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001466/1.01, allocations: 0 / 1.271 GB, free: 2.977 MB / 0.9981 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.009454/1.019, allocations: 4.06 MB / 1.275 GB, free: 14.85 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.02, allocations: 8.031 kB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00766/1.027, allocations: 1.581 MB / 1.276 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/1.032, allocations: 2.675 MB / 1.279 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/1.032, allocations: 185.6 kB / 1.279 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003869/1.033, allocations: 208 kB / 1.279 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/1.039, allocations: 3.315 MB / 1.283 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/1.039, allocations: 0 / 1.283 GB, free: 6.746 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/1.04, allocations: 80 kB / 1.283 GB, free: 6.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/1.04, allocations: 52 kB / 1.283 GB, free: 6.617 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00851/1.048, allocations: 3.948 MB / 1.287 GB, free: 2.664 MB / 1.014 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.01763/1.066, allocations: 10.01 MB / 1.296 GB, free: 8.379 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00713/1.073, allocations: 2.904 MB / 1.299 GB, free: 5.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003096/1.076, allocations: 1.383 MB / 1.301 GB, free: 4.086 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007483/1.077, allocations: 494.7 kB / 1.301 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003279/1.08, allocations: 1.617 MB / 1.303 GB, free: 1.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=166): time 3.297e-06/1.08, allocations: 0 / 1.303 GB, free: 1.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=166): time 0.01151/1.092, allocations: 4.695 MB / 1.307 GB, free: 13.08 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.092, allocations: 201.2 kB / 1.307 GB, free: 12.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/1.096, allocations: 3.111 MB / 1.31 GB, free: 9.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.097, allocations: 65.7 kB / 1.311 GB, free: 9.633 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/1.098, allocations: 1.123 MB / 1.312 GB, free: 8.5 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/1.098, allocations: 0.5508 MB / 1.312 GB, free: 7.941 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007237/1.099, allocations: 423.2 kB / 1.313 GB, free: 7.523 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.099, allocations: 301.1 kB / 1.313 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.102, allocations: 1.366 MB / 1.314 GB, free: 5.859 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/1.106, allocations: 1.768 MB / 1.316 GB, free: 3.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006007/1.112, allocations: 2.979 MB / 1.319 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.112, allocations: 0 / 1.319 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008776/1.12, allocations: 3.699 MB / 1.322 GB, free: 13.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.12, allocations: 11.98 kB / 1.322 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/1.12, allocations: 12.22 kB / 1.322 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.122, allocations: 375 kB / 1.323 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/1.125, allocations: 0.5461 MB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00538/1.13, allocations: 5.694 MB / 1.329 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/1.134, allocations: 485.7 kB / 1.329 GB, free: 5.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/1.134, allocations: 99.81 kB / 1.329 GB, free: 5.441 MB / 1.061 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.001974/1.136, allocations: 1.134 MB / 1.331 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007079/1.137, allocations: 248.8 kB / 1.331 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008302/1.145, allocations: 3.524 MB / 1.334 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.145, allocations: 19.94 kB / 1.334 GB, free: 496 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.145, allocations: 7.938 kB / 1.334 GB, free: 488 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.145, allocations: 7.969 kB / 1.334 GB, free: 480 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/1.149, allocations: 2.94 MB / 1.337 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.149, allocations: 4 kB / 1.337 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.151, allocations: 423.3 kB / 1.338 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/1.153, allocations: 355.1 kB / 1.338 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/1.153, allocations: 63.88 kB / 1.338 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/1.158, allocations: 5.717 MB / 1.344 GB, free: 6.465 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.158, allocations: 3.938 kB / 1.344 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.169, allocations: 4.887 MB / 1.348 GB, free: 1.539 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/1.171, allocations: 0.7747 MB / 1.349 GB, free: 0.7422 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/1.172, allocations: 51.89 kB / 1.349 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.174, allocations: 307.7 kB / 1.349 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/1.174, allocations: 125.8 kB / 1.35 GB, free: 276 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.174, allocations: 67.95 kB / 1.35 GB, free: 208 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003244/1.178, allocations: 2.228 MB / 1.352 GB, free: 13.96 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.178, allocations: 0 / 1.352 GB, free: 13.96 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00214/1.18, allocations: 0.8342 MB / 1.353 GB, free: 13.13 MB / 1.092 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.001567/1.181, allocations: 0.7033 MB / 1.353 GB, free: 12.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.007198/1.188, allocations: 3.392 MB / 1.357 GB, free: 9.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.189, allocations: 8.688 kB / 1.357 GB, free: 9.16 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003688/1.192, allocations: 1.819 MB / 1.358 GB, free: 7.309 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.196, allocations: 0.8142 MB / 1.359 GB, free: 6.527 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.208, allocations: 6.56 MB / 1.366 GB, free: 15.93 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.21, allocations: 2.234 MB / 1.368 GB, free: 13.66 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.211, allocations: 247.3 kB / 1.368 GB, free: 13.42 MB / 1.107 GB Notification: Performance of SimCode: time 7.82e-07/1.211, allocations: 0 / 1.368 GB, free: 13.42 MB / 1.107 GB Notification: Performance of Templates: time 0.1226/1.333, allocations: 112.9 MB / 1.478 GB, free: 12.54 MB / 1.217 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches