Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 215.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.147/3.147, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.67 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3224, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.01019/0.3326, allocations: 7.089 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.192/0.5246, allocations: 158.9 MB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.526, allocations: 31.75 kB / 1.488 GB, free: 11.28 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005385/0.5314, allocations: 2 MB / 1.49 GB, free: 9.27 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.5345, allocations: 0.9111 MB / 1.491 GB, free: 8.359 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002875/0.5374, allocations: 1.038 MB / 1.492 GB, free: 7.328 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.5414, allocations: 2.687 MB / 1.495 GB, free: 4.633 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/0.5429, allocations: 0.6495 MB / 1.495 GB, free: 3.934 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.5446, allocations: 0.9346 MB / 1.496 GB, free: 2.996 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/0.5463, allocations: 0.9765 MB / 1.497 GB, free: 2.016 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005467/0.5469, allocations: 188 kB / 1.497 GB, free: 1.832 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005329/0.5522, allocations: 2.781 MB / 1.5 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.5538, allocations: 1.247 MB / 1.501 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002728/0.5566, allocations: 1.43 MB / 1.503 GB, free: 12.36 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00976/0.5663, allocations: 5.576 MB / 1.508 GB, free: 6.766 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5663, allocations: 0 / 1.508 GB, free: 6.766 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5663, allocations: 0 / 1.508 GB, free: 6.766 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.785e-05/0.5664, allocations: 0 / 1.508 GB, free: 6.766 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008999/0.5754, allocations: 4.032 MB / 1.512 GB, free: 2.676 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5755, allocations: 8.031 kB / 1.512 GB, free: 2.668 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003086/0.5758, allocations: 194.3 kB / 1.512 GB, free: 2.469 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/0.5784, allocations: 442.8 kB / 1.513 GB, free: 2.035 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09342/0.6718, allocations: 87.64 MB / 1.598 GB, free: 10.3 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.672, allocations: 102.5 kB / 1.598 GB, free: 10.2 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.6723, allocations: 132 kB / 1.598 GB, free: 10.07 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.6752, allocations: 1.364 MB / 1.6 GB, free: 8.648 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.6752, allocations: 3.938 kB / 1.6 GB, free: 8.645 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.6753, allocations: 52 kB / 1.6 GB, free: 8.594 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/0.6754, allocations: 31.94 kB / 1.6 GB, free: 8.562 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002628/0.678, allocations: 1.496 MB / 1.601 GB, free: 7.059 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6215/1.299, allocations: 23.92 MB / 1.625 GB, free: 277.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/1.302, allocations: 1.057 MB / 1.626 GB, free: 277.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/1.303, allocations: 408.4 kB / 1.626 GB, free: 277 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/1.303, allocations: 39.05 kB / 1.626 GB, free: 277 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.304, allocations: 0.6542 MB / 1.627 GB, free: 276.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.584e-06/1.304, allocations: 1.531 kB / 1.627 GB, free: 276.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004585/1.308, allocations: 1.675 MB / 1.628 GB, free: 276.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/1.308, allocations: 194.2 kB / 1.628 GB, free: 276 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08012/1.388, allocations: 99.44 MB / 1.726 GB, free: 183.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002782/1.389, allocations: 54.39 kB / 1.726 GB, free: 183.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009202/1.39, allocations: 1.08 MB / 1.727 GB, free: 182.8 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/1.39, allocations: 342.2 kB / 1.727 GB, free: 182.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/1.39, allocations: 242.8 kB / 1.727 GB, free: 182.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/1.39, allocations: 345.9 kB / 1.728 GB, free: 181.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/1.391, allocations: 494.9 kB / 1.728 GB, free: 181.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/1.392, allocations: 0.6314 MB / 1.729 GB, free: 180.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.393, allocations: 0.9944 MB / 1.73 GB, free: 179.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.393, allocations: 4 kB / 1.73 GB, free: 179.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003199/1.396, allocations: 1.528 MB / 1.731 GB, free: 178.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.396, allocations: 4 kB / 1.731 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/1.396, allocations: 4 kB / 1.731 GB, free: 178.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/1.397, allocations: 83.52 kB / 1.731 GB, free: 178.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/1.398, allocations: 239.6 kB / 1.731 GB, free: 177.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/1.399, allocations: 1.532 MB / 1.733 GB, free: 176.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.401, allocations: 282 kB / 1.733 GB, free: 176 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/1.401, allocations: 47.67 kB / 1.733 GB, free: 176 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.001124/1.402, allocations: 0.8122 MB / 1.734 GB, free: 175.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006711/1.403, allocations: 232.2 kB / 1.734 GB, free: 174.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.406, allocations: 1.625 MB / 1.736 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.406, allocations: 12 kB / 1.736 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.406, allocations: 0 / 1.736 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.406, allocations: 7.969 kB / 1.736 GB, free: 173.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/1.408, allocations: 1.942 MB / 1.738 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.408, allocations: 3.938 kB / 1.738 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/1.409, allocations: 183.1 kB / 1.738 GB, free: 171.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/1.409, allocations: 69.84 kB / 1.738 GB, free: 171.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/1.409, allocations: 35.97 kB / 1.738 GB, free: 171.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/1.411, allocations: 1.556 MB / 1.74 GB, free: 169.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.411, allocations: 0 / 1.74 GB, free: 169.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00246/1.413, allocations: 1.373 MB / 1.741 GB, free: 168 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.415, allocations: 0.6968 MB / 1.742 GB, free: 167.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003493/1.415, allocations: 37.33 kB / 1.742 GB, free: 167.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.416, allocations: 182.1 kB / 1.742 GB, free: 167.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.416, allocations: 92.83 kB / 1.742 GB, free: 167 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.791e-05/1.416, allocations: 47.97 kB / 1.742 GB, free: 167 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04955/1.466, allocations: 79.42 MB / 1.82 GB, free: 87.55 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.41e-07/1.466, allocations: 7.359 kB / 1.82 GB, free: 87.55 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002553/1.468, allocations: 1.033 MB / 1.821 GB, free: 86.63 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.005499/1.474, allocations: 2.783 MB / 1.823 GB, free: 84.17 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.476, allocations: 1.203 MB / 1.824 GB, free: 82.96 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.476, allocations: 2.078 kB / 1.824 GB, free: 82.96 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009284/1.477, allocations: 0.6278 MB / 1.825 GB, free: 82.32 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.479, allocations: 426.1 kB / 1.825 GB, free: 81.93 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.027/2.505, allocations: 407.2 MB / 2.223 GB, free: 0.5739 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/2.507, allocations: 1.721 MB / 2.225 GB, free: 0.5732 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.002164/2.509, allocations: 0.779 MB / 2.225 GB, free: 0.5731 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/2.51, allocations: 1.113 MB / 2.227 GB, free: 0.5728 GB / 1.607 GB Notification: Performance of SimCode: time 1.253e-06/2.51, allocations: 8.062 kB / 2.227 GB, free: 0.5728 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/2.673, allocations: 114.2 MB / 2.338 GB, free: 496.1 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/21.39, allocations: 10.2 kB / 2.338 GB, free: 496.1 MB / 1.607 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 28.488816840108484]