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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002197/0.002197, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.98/2.98, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.001982/0.001982, allocations: 65.3 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2902, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009111/0.2993, allocations: 6.237 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.4701, allocations: 137 MB / 1.465 GB, free: 2.629 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.4713, allocations: 35.75 kB / 1.465 GB, free: 2.594 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.4762, allocations: 1.887 MB / 1.467 GB, free: 0.6992 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.4789, allocations: 0.9209 MB / 1.468 GB, free: 15.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.4815, allocations: 1.011 MB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.4849, allocations: 2.66 MB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.4862, allocations: 0.6299 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.4877, allocations: 0.9462 MB / 1.473 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.4892, allocations: 0.8789 MB / 1.474 GB, free: 9.594 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.4895, allocations: 188 kB / 1.474 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.4941, allocations: 2.512 MB / 1.476 GB, free: 6.895 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.4955, allocations: 1.243 MB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.4972, allocations: 1.159 MB / 1.479 GB, free: 4.484 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.5041, allocations: 5.564 MB / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5041, allocations: 0 / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5041, allocations: 0 / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001061/0.5042, allocations: 0 / 1.484 GB, free: 14.9 MB / 1.186 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.008025/0.5123, allocations: 4.082 MB / 1.488 GB, free: 10.76 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5123, allocations: 8.031 kB / 1.488 GB, free: 10.75 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.5125, allocations: 194.3 kB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.5149, allocations: 442.8 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09208/0.607, allocations: 87.64 MB / 1.574 GB, free: 2.387 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.6071, allocations: 102.5 kB / 1.574 GB, free: 2.285 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.6073, allocations: 136 kB / 1.575 GB, free: 2.152 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.6098, allocations: 1.611 MB / 1.576 GB, free: 428 kB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.6098, allocations: 0 / 1.576 GB, free: 428 kB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6099, allocations: 52 kB / 1.576 GB, free: 376 kB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.6099, allocations: 36 kB / 1.576 GB, free: 340 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.6124, allocations: 1.45 MB / 1.578 GB, free: 14.87 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02494/0.6373, allocations: 22.87 MB / 1.6 GB, free: 7.93 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.6396, allocations: 1.045 MB / 1.601 GB, free: 6.879 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007192/0.6403, allocations: 411.6 kB / 1.601 GB, free: 6.477 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.6404, allocations: 32.92 kB / 1.601 GB, free: 6.441 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.6415, allocations: 0.7571 MB / 1.602 GB, free: 5.641 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.866e-06/0.6415, allocations: 0 / 1.602 GB, free: 5.641 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004781/0.6463, allocations: 1.679 MB / 1.604 GB, free: 3.953 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6464, allocations: 188.9 kB / 1.604 GB, free: 3.727 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6827/1.329, allocations: 99.44 MB / 1.701 GB, free: 208.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.329, allocations: 45.7 kB / 1.701 GB, free: 208.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008105/1.33, allocations: 1.079 MB / 1.702 GB, free: 207.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/1.33, allocations: 337.8 kB / 1.702 GB, free: 207.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.331, allocations: 247.9 kB / 1.703 GB, free: 207.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.244e-05/1.331, allocations: 351.2 kB / 1.703 GB, free: 206.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/1.332, allocations: 495.8 kB / 1.703 GB, free: 206.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/1.332, allocations: 0.7463 MB / 1.704 GB, free: 205.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.334, allocations: 1.005 MB / 1.705 GB, free: 204.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.334, allocations: 0.8438 kB / 1.705 GB, free: 204.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002976/1.337, allocations: 1.519 MB / 1.707 GB, free: 203 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.337, allocations: 8 kB / 1.707 GB, free: 203 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.337, allocations: 0.625 kB / 1.707 GB, free: 203 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005544/1.337, allocations: 89.92 kB / 1.707 GB, free: 202.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/1.338, allocations: 232 kB / 1.707 GB, free: 202.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/1.34, allocations: 1.531 MB / 1.709 GB, free: 201.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/1.341, allocations: 280.3 kB / 1.709 GB, free: 200.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/1.341, allocations: 53.53 kB / 1.709 GB, free: 200.8 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.0009128/1.342, allocations: 0.8102 MB / 1.71 GB, free: 200 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/1.343, allocations: 231.4 kB / 1.71 GB, free: 199.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/1.345, allocations: 1.625 MB / 1.711 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.345, allocations: 12 kB / 1.711 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.345, allocations: 0 / 1.711 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.345, allocations: 9.625 kB / 1.711 GB, free: 198.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.347, allocations: 1.564 MB / 1.713 GB, free: 196.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.347, allocations: 0 / 1.713 GB, free: 196.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/1.347, allocations: 183.7 kB / 1.713 GB, free: 196.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003866/1.348, allocations: 74.56 kB / 1.713 GB, free: 196.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/1.348, allocations: 36.72 kB / 1.713 GB, free: 196.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/1.349, allocations: 1.551 MB / 1.715 GB, free: 194.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.349, allocations: 0 / 1.715 GB, free: 194.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/1.352, allocations: 1.368 MB / 1.716 GB, free: 193.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001179/1.353, allocations: 0.7505 MB / 1.717 GB, free: 192.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/1.353, allocations: 31.31 kB / 1.717 GB, free: 192.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.354, allocations: 185.8 kB / 1.717 GB, free: 192.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.354, allocations: 96.7 kB / 1.717 GB, free: 192.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.167e-05/1.354, allocations: 52.64 kB / 1.717 GB, free: 192.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04873/1.403, allocations: 79.42 MB / 1.795 GB, free: 112.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.41e-07/1.403, allocations: 3.438 kB / 1.795 GB, free: 112.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002451/1.405, allocations: 1.038 MB / 1.796 GB, free: 111.8 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.005323/1.411, allocations: 2.812 MB / 1.798 GB, free: 109.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001906/1.413, allocations: 1.195 MB / 1.8 GB, free: 108.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.413, allocations: 7.938 kB / 1.8 GB, free: 108.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/1.414, allocations: 0.6339 MB / 1.8 GB, free: 107.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/1.415, allocations: 426.6 kB / 1.801 GB, free: 107.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.374/1.789, allocations: 407.2 MB / 2.198 GB, free: 3.766 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/1.791, allocations: 1.145 MB / 2.199 GB, free: 2.59 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.002305/1.793, allocations: 0.7764 MB / 2.2 GB, free: 1.809 MB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/1.795, allocations: 1.12 MB / 2.201 GB, free: 0.6875 MB / 1.592 GB Notification: Performance of SimCode: time 7.82e-07/1.795, allocations: 0 / 2.201 GB, free: 0.6875 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7388/2.534, allocations: 116.9 MB / 2.315 GB, free: 0.5118 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/18.18, allocations: 17.84 kB / 2.315 GB, free: 0.5118 GB / 1.607 GB " [Timeout remaining time 282] (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: 24.800932181067765]