Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007786/0.007786, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001462/0.001462, allocations: 188.7 kB / 16.67 MB, free: 5.965 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002248, allocations: 59.91 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8288, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01118/0.84, allocations: 9.892 MB / 1.176 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1638/1.004, allocations: 154.7 MB / 1.327 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/1.006, allocations: 47.75 kB / 1.327 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003622/1.01, allocations: 1.15 MB / 1.328 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003878/1.014, allocations: 1.158 MB / 1.329 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/1.018, allocations: 1.71 MB / 1.331 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006347/1.024, allocations: 4.882 MB / 1.336 GB, free: 5.566 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/1.027, allocations: 1.791 MB / 1.337 GB, free: 3.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/1.03, allocations: 2.069 MB / 1.339 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/1.033, allocations: 1.72 MB / 1.341 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/1.034, allocations: 372 kB / 1.341 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/1.037, allocations: 1.171 MB / 1.343 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001364/1.038, allocations: 0.9972 MB / 1.344 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002936/1.041, allocations: 1.781 MB / 1.345 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007437/1.048, allocations: 5.532 MB / 1.351 GB, free: 6.055 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.048, allocations: 0 / 1.351 GB, free: 6.055 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/1.048, allocations: 3.938 kB / 1.351 GB, free: 6.051 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001758/1.049, allocations: 0 / 1.351 GB, free: 6.051 MB / 1.076 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.01004/1.059, allocations: 4.203 MB / 1.355 GB, free: 1.785 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.059, allocations: 12.92 kB / 1.355 GB, free: 1.773 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006076/1.059, allocations: 294.8 kB / 1.355 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/1.067, allocations: 1.595 MB / 1.357 GB, free: 15.87 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/1.073, allocations: 2.688 MB / 1.359 GB, free: 13.12 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/1.073, allocations: 189.4 kB / 1.359 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/1.074, allocations: 219.8 kB / 1.36 GB, free: 12.71 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007984/1.082, allocations: 3.31 MB / 1.363 GB, free: 9.352 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.381e-05/1.082, allocations: 0 / 1.363 GB, free: 9.352 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/1.082, allocations: 87.94 kB / 1.363 GB, free: 9.266 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/1.082, allocations: 52 kB / 1.363 GB, free: 9.215 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00897/1.091, allocations: 3.948 MB / 1.367 GB, free: 5.262 MB / 1.092 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.01961/1.111, allocations: 10.41 MB / 1.377 GB, free: 10.5 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007131/1.118, allocations: 2.905 MB / 1.38 GB, free: 7.586 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/1.121, allocations: 1.383 MB / 1.381 GB, free: 6.199 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006715/1.122, allocations: 498.6 kB / 1.382 GB, free: 5.617 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003378/1.125, allocations: 1.617 MB / 1.383 GB, free: 3.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=166): time 4.999e-06/1.125, allocations: 0 / 1.383 GB, free: 3.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=166): time 0.0114/1.136, allocations: 4.7 MB / 1.388 GB, free: 15.19 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.137, allocations: 209.2 kB / 1.388 GB, free: 14.94 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005626/1.142, allocations: 3.111 MB / 1.391 GB, free: 11.8 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002802/1.142, allocations: 65.7 kB / 1.391 GB, free: 11.73 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.144, allocations: 1.148 MB / 1.392 GB, free: 10.57 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/1.144, allocations: 0.5733 MB / 1.393 GB, free: 9.996 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009707/1.145, allocations: 403.4 kB / 1.393 GB, free: 9.594 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.145, allocations: 301.1 kB / 1.394 GB, free: 9.297 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.149, allocations: 1.343 MB / 1.395 GB, free: 7.953 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/1.152, allocations: 1.768 MB / 1.397 GB, free: 6.031 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00599/1.158, allocations: 2.955 MB / 1.399 GB, free: 2.938 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.158, allocations: 4 kB / 1.399 GB, free: 2.934 MB / 1.123 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.008364/1.166, allocations: 3.665 MB / 1.403 GB, free: 15.25 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.166, allocations: 16.22 kB / 1.403 GB, free: 15.23 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.166, allocations: 11.98 kB / 1.403 GB, free: 15.22 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/1.168, allocations: 363.1 kB / 1.403 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/1.171, allocations: 0.5421 MB / 1.404 GB, free: 14.31 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00503/1.176, allocations: 5.706 MB / 1.41 GB, free: 8.156 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.179, allocations: 490.1 kB / 1.41 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004235/1.179, allocations: 83.95 kB / 1.41 GB, free: 7.594 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 21 (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 (215): * Single equations (assignments): 211 * 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.002245/1.182, allocations: 1.116 MB / 1.411 GB, free: 6.469 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009268/1.183, allocations: 254.3 kB / 1.411 GB, free: 6.219 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/1.191, allocations: 3.536 MB / 1.415 GB, free: 2.66 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.191, allocations: 27.92 kB / 1.415 GB, free: 2.633 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.191, allocations: 0 / 1.415 GB, free: 2.633 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/1.191, allocations: 7.969 kB / 1.415 GB, free: 2.625 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/1.196, allocations: 2.963 MB / 1.418 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.196, allocations: 3.938 kB / 1.418 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.198, allocations: 431.3 kB / 1.418 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/1.2, allocations: 351 kB / 1.419 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.2, allocations: 63.94 kB / 1.419 GB, free: 14.76 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00533/1.205, allocations: 5.711 MB / 1.424 GB, free: 8.598 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.205, allocations: 0 / 1.424 GB, free: 8.598 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.218, allocations: 4.896 MB / 1.429 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.22, allocations: 0.7955 MB / 1.43 GB, free: 2.855 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007897/1.221, allocations: 51.94 kB / 1.43 GB, free: 2.805 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002709/1.223, allocations: 303.5 kB / 1.43 GB, free: 2.508 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.224, allocations: 129.8 kB / 1.43 GB, free: 2.379 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.224, allocations: 67.95 kB / 1.43 GB, free: 2.312 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004484/1.229, allocations: 2.232 MB / 1.432 GB, free: 72 kB / 1.154 GB Notification: Performance of sort global known variables: time 4.3e-07/1.229, allocations: 4 kB / 1.432 GB, free: 68 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.003419/1.232, allocations: 0.8577 MB / 1.433 GB, free: 15.21 MB / 1.17 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.01316/1.245, allocations: 6.059 MB / 1.439 GB, free: 9.273 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007302/1.253, allocations: 3.365 MB / 1.442 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.253, allocations: 0.6875 kB / 1.442 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003674/1.256, allocations: 1.823 MB / 1.444 GB, free: 4.012 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004483/1.261, allocations: 0.8392 MB / 1.445 GB, free: 3.195 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05143/1.312, allocations: 27.53 MB / 1.472 GB, free: 7.145 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.315, allocations: 2.345 MB / 1.474 GB, free: 4.762 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003156/1.318, allocations: 0.9477 MB / 1.475 GB, free: 3.809 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.32, allocations: 1.151 MB / 1.476 GB, free: 2.656 MB / 1.201 GB Notification: Performance of SimCode: time 9.92e-07/1.32, allocations: 0 / 1.476 GB, free: 2.656 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1236/1.444, allocations: 70.87 MB / 1.545 GB, free: 12.28 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/18.47, allocations: 10 kB / 1.546 GB, free: 12.27 MB / 1.279 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 Buildings_10_Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.fmu > Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Constructions_Examples_ExteriorWall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches