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.007401/0.007401, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.00135/0.00135, allocations: 201.8 kB / 16.68 MB, free: 5.977 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.587/1.587, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.732/2.732, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.88 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 151.6 MB / 1.166 GB, free: 7.375 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Constructions.Examples.ExteriorWall): time 0.01298/0.3248, allocations: 9.896 MB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.8245/1.149, allocations: 154.7 MB / 1.327 GB, free: 4.035 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/1.152, allocations: 45.88 kB / 1.327 GB, free: 4.02 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/1.156, allocations: 1.141 MB / 1.328 GB, free: 3.594 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/1.161, allocations: 1.148 MB / 1.329 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004626/1.165, allocations: 1.706 MB / 1.331 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007625/1.173, allocations: 4.872 MB / 1.336 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002694/1.176, allocations: 1.799 MB / 1.337 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/1.179, allocations: 2.016 MB / 1.339 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00325/1.183, allocations: 1.732 MB / 1.341 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008832/1.183, allocations: 371.3 kB / 1.341 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/1.186, allocations: 1.163 MB / 1.342 GB, free: 14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001119/1.187, allocations: 0.9973 MB / 1.343 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/1.19, allocations: 1.783 MB / 1.345 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007339/1.197, allocations: 5.53 MB / 1.351 GB, free: 10.19 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/1.197, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/1.197, allocations: 1.406 kB / 1.351 GB, free: 10.19 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001339/1.197, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.029 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.01079/1.208, allocations: 4.211 MB / 1.355 GB, free: 7.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.208, allocations: 9.656 kB / 1.355 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005396/1.209, allocations: 290.2 kB / 1.355 GB, free: 7.449 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008061/1.217, allocations: 1.593 MB / 1.357 GB, free: 6.676 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/1.223, allocations: 2.698 MB / 1.359 GB, free: 4.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/1.223, allocations: 186.6 kB / 1.359 GB, free: 4.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004764/1.223, allocations: 214.9 kB / 1.36 GB, free: 4.699 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007224/1.231, allocations: 3.31 MB / 1.363 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.231, allocations: 0 / 1.363 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/1.231, allocations: 87.83 kB / 1.363 GB, free: 2.684 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/1.231, allocations: 47.03 kB / 1.363 GB, free: 2.684 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008623/1.24, allocations: 3.945 MB / 1.367 GB, free: 0.7109 MB / 1.029 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.02355/1.263, allocations: 10.42 MB / 1.377 GB, free: 9.051 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007218/1.27, allocations: 2.898 MB / 1.38 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/1.274, allocations: 1.386 MB / 1.381 GB, free: 6.863 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/1.274, allocations: 491.7 kB / 1.382 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003356/1.278, allocations: 1.622 MB / 1.383 GB, free: 5.379 MB / 1.045 GB Notification: Performance of pre-optimization done (n=166): time 5.139e-06/1.278, allocations: 0 / 1.383 GB, free: 5.379 MB / 1.045 GB Notification: Performance of matching and sorting (n=166): time 0.01231/1.29, allocations: 4.704 MB / 1.388 GB, free: 1.027 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/1.29, allocations: 201.2 kB / 1.388 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/1.296, allocations: 3.111 MB / 1.391 GB, free: 13.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004251/1.296, allocations: 65.7 kB / 1.391 GB, free: 13.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.298, allocations: 1.152 MB / 1.392 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/1.298, allocations: 0.5616 MB / 1.393 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/1.299, allocations: 411.3 kB / 1.393 GB, free: 11.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.299, allocations: 305.1 kB / 1.393 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/1.302, allocations: 1.343 MB / 1.395 GB, free: 9.797 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/1.306, allocations: 1.764 MB / 1.396 GB, free: 7.879 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006553/1.313, allocations: 2.955 MB / 1.399 GB, free: 4.785 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/1.313, allocations: 4 kB / 1.399 GB, free: 4.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.009598/1.322, allocations: 3.669 MB / 1.403 GB, free: 1.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.322, allocations: 8 kB / 1.403 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/1.322, allocations: 8 kB / 1.403 GB, free: 1.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/1.324, allocations: 379.2 kB / 1.403 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.327, allocations: 0.5343 MB / 1.404 GB, free: 160 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/1.333, allocations: 5.707 MB / 1.409 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/1.337, allocations: 494.2 kB / 1.41 GB, free: 9.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/1.338, allocations: 83.94 kB / 1.41 GB, free: 9.438 MB / 1.076 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.002754/1.34, allocations: 1.117 MB / 1.411 GB, free: 8.312 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.342, allocations: 263.7 kB / 1.411 GB, free: 8.055 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009495/1.351, allocations: 3.532 MB / 1.415 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.351, allocations: 16 kB / 1.415 GB, free: 4.484 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.351, allocations: 7.938 kB / 1.415 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/1.351, allocations: 7.969 kB / 1.415 GB, free: 4.469 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/1.358, allocations: 2.955 MB / 1.418 GB, free: 1.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.546e-05/1.358, allocations: 7.75 kB / 1.418 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.36, allocations: 431.3 kB / 1.418 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/1.362, allocations: 343.1 kB / 1.418 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/1.362, allocations: 59.94 kB / 1.418 GB, free: 0.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006108/1.368, allocations: 5.727 MB / 1.424 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.368, allocations: 0 / 1.424 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01259/1.381, allocations: 4.896 MB / 1.429 GB, free: 5.52 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002301/1.383, allocations: 0.8033 MB / 1.43 GB, free: 4.695 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.384, allocations: 47.98 kB / 1.43 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/1.387, allocations: 309.3 kB / 1.43 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004243/1.388, allocations: 133.8 kB / 1.43 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/1.388, allocations: 67.94 kB / 1.43 GB, free: 4.148 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005328/1.393, allocations: 2.22 MB / 1.432 GB, free: 1.918 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.61e-07/1.393, allocations: 0 / 1.432 GB, free: 1.918 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004417/1.398, allocations: 0.8694 MB / 1.433 GB, free: 1.047 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.01565/1.413, allocations: 6.059 MB / 1.439 GB, free: 11.13 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008361/1.422, allocations: 3.365 MB / 1.442 GB, free: 7.723 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.422, allocations: 4.062 kB / 1.442 GB, free: 7.719 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004354/1.426, allocations: 1.827 MB / 1.444 GB, free: 5.859 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005246/1.432, allocations: 0.8408 MB / 1.445 GB, free: 5.043 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06565/1.497, allocations: 27.52 MB / 1.472 GB, free: 9.012 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003331/1.501, allocations: 2.351 MB / 1.474 GB, free: 6.625 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004099/1.505, allocations: 0.9322 MB / 1.475 GB, free: 5.688 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/1.508, allocations: 1.155 MB / 1.476 GB, free: 4.531 MB / 1.139 GB Notification: Performance of SimCode: time 1.032e-06/1.508, allocations: 4 kB / 1.476 GB, free: 4.527 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/1.657, allocations: 70.87 MB / 1.545 GB, free: 14.23 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18.81, allocations: 17.08 kB / 1.545 GB, free: 14.22 MB / 1.217 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