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.001432/0.001432, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001541/0.001541, allocations: 217.9 kB / 22.24 MB, free: 5.258 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.812 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.286/3.286, allocations: 0.49 GB / 0.7951 GB, free: 35.56 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.002002/0.002002, allocations: 66.52 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008832/0.3361, allocations: 6.237 MB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.218/0.5542, allocations: 137 MB / 1.466 GB, free: 1.715 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.5556, allocations: 35.75 kB / 1.466 GB, free: 1.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.5605, allocations: 1.938 MB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.5631, allocations: 0.9215 MB / 1.469 GB, free: 14.81 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.5656, allocations: 1.019 MB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.5688, allocations: 2.683 MB / 1.472 GB, free: 11.11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.5699, allocations: 0.6495 MB / 1.473 GB, free: 10.41 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.5713, allocations: 0.9501 MB / 1.474 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.5726, allocations: 0.9687 MB / 1.475 GB, free: 8.484 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/0.5728, allocations: 188 kB / 1.475 GB, free: 8.301 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/0.5773, allocations: 2.711 MB / 1.477 GB, free: 5.586 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.5785, allocations: 1.243 MB / 1.479 GB, free: 4.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001435/0.5799, allocations: 1.159 MB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.5878, allocations: 5.58 MB / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5878, allocations: 0 / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5878, allocations: 0 / 1.485 GB, free: 13.58 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.863e-05/0.5879, allocations: 0 / 1.485 GB, free: 13.58 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.009485/0.5974, allocations: 4.082 MB / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5974, allocations: 8.031 kB / 1.489 GB, free: 9.43 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/0.5977, allocations: 190.3 kB / 1.489 GB, free: 9.234 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002852/0.6006, allocations: 438.8 kB / 1.49 GB, free: 8.805 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09485/0.6954, allocations: 87.65 MB / 1.575 GB, free: 1.062 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.6955, allocations: 102.5 kB / 1.576 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.6957, allocations: 136 kB / 1.576 GB, free: 0.8281 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.6984, allocations: 1.607 MB / 1.577 GB, free: 15.1 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.6984, allocations: 3.984 kB / 1.577 GB, free: 15.09 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.6985, allocations: 59.98 kB / 1.577 GB, free: 15.04 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.6985, allocations: 36 kB / 1.577 GB, free: 15 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.7011, allocations: 1.454 MB / 1.579 GB, free: 13.54 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.7268, allocations: 22.85 MB / 1.601 GB, free: 6.605 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.7292, allocations: 1.054 MB / 1.602 GB, free: 5.547 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.73, allocations: 409.4 kB / 1.603 GB, free: 5.145 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-05/0.7301, allocations: 28.97 kB / 1.603 GB, free: 5.113 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.7313, allocations: 0.7571 MB / 1.603 GB, free: 4.316 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 3.306e-06/0.7313, allocations: 3.938 kB / 1.603 GB, free: 4.312 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.005402/0.7367, allocations: 1.675 MB / 1.605 GB, free: 2.625 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.7369, allocations: 192.9 kB / 1.605 GB, free: 2.395 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7329/1.47, allocations: 99.44 MB / 1.702 GB, free: 206.9 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/1.47, allocations: 55.48 kB / 1.702 GB, free: 206.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/1.472, allocations: 1.073 MB / 1.703 GB, free: 206.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/1.472, allocations: 344.5 kB / 1.704 GB, free: 205.9 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006306/1.473, allocations: 246.2 kB / 1.704 GB, free: 205.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.621e-05/1.473, allocations: 349.8 kB / 1.704 GB, free: 205.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009157/1.474, allocations: 493.2 kB / 1.705 GB, free: 205 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/1.475, allocations: 0.7555 MB / 1.705 GB, free: 204.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/1.476, allocations: 1.001 MB / 1.706 GB, free: 203.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.476, allocations: 0.5469 kB / 1.706 GB, free: 203.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004471/1.481, allocations: 1.517 MB / 1.708 GB, free: 201.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/1.481, allocations: 7.984 kB / 1.708 GB, free: 201.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/1.481, allocations: 4 kB / 1.708 GB, free: 201.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007219/1.481, allocations: 80.09 kB / 1.708 GB, free: 201.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009788/1.482, allocations: 246 kB / 1.708 GB, free: 201.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/1.485, allocations: 1.532 MB / 1.71 GB, free: 199.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/1.488, allocations: 274.4 kB / 1.71 GB, free: 199.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/1.488, allocations: 43.98 kB / 1.71 GB, free: 199.4 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.00145/1.489, allocations: 0.819 MB / 1.711 GB, free: 198.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001607/1.491, allocations: 233.9 kB / 1.711 GB, free: 198.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003599/1.494, allocations: 1.622 MB / 1.713 GB, free: 196.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.494, allocations: 12 kB / 1.713 GB, free: 196.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.494, allocations: 0 / 1.713 GB, free: 196.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.494, allocations: 7.969 kB / 1.713 GB, free: 196.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/1.497, allocations: 1.557 MB / 1.714 GB, free: 195.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/1.497, allocations: 9.562 kB / 1.714 GB, free: 195.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/1.498, allocations: 187.5 kB / 1.714 GB, free: 195 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.498, allocations: 71.12 kB / 1.714 GB, free: 194.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.047e-05/1.499, allocations: 27.98 kB / 1.714 GB, free: 194.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/1.5, allocations: 1.554 MB / 1.716 GB, free: 193.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.5, allocations: 4 kB / 1.716 GB, free: 193.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/1.503, allocations: 1.368 MB / 1.717 GB, free: 191.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.505, allocations: 0.7561 MB / 1.718 GB, free: 191.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000484/1.506, allocations: 31.88 kB / 1.718 GB, free: 191.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.507, allocations: 184 kB / 1.718 GB, free: 190.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.507, allocations: 88.83 kB / 1.718 GB, free: 190.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/1.507, allocations: 51.97 kB / 1.718 GB, free: 190.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.05105/1.558, allocations: 79.4 MB / 1.796 GB, free: 111.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 4.51e-07/1.558, allocations: 4 kB / 1.796 GB, free: 111.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002774/1.561, allocations: 1.038 MB / 1.797 GB, free: 110.3 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.006928/1.568, allocations: 2.834 MB / 1.8 GB, free: 107.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.002264/1.57, allocations: 1.197 MB / 1.801 GB, free: 106.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.57, allocations: 0 / 1.801 GB, free: 106.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.571, allocations: 0.6212 MB / 1.801 GB, free: 105.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.574, allocations: 422.7 kB / 1.802 GB, free: 105.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3865/1.96, allocations: 407.2 MB / 2.199 GB, free: 2.133 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/1.962, allocations: 1.158 MB / 2.201 GB, free: 0.9453 MB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.002224/1.964, allocations: 0.7726 MB / 2.201 GB, free: 172 kB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/1.966, allocations: 1.119 MB / 2.202 GB, free: 15.07 MB / 1.608 GB Notification: Performance of SimCode: time 1.372e-06/1.966, allocations: 0 / 2.202 GB, free: 15.07 MB / 1.608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7951/2.761, allocations: 117.2 MB / 2.317 GB, free: 0.5106 GB / 1.608 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/18.69, allocations: 7.812 kB / 2.317 GB, free: 0.5106 GB / 1.608 GB " [Timeout remaining time 281] (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: 25.909255799022503]