Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 106.6 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 489 MB / 0.7678 GB, free: 20 kB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.88 kB / 1.101 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8237, allocations: 163.8 MB / 1.261 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01053/0.8343, allocations: 8.222 MB / 1.269 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1992/1.034, allocations: 159.5 MB / 1.425 GB, free: 14.76 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/1.035, allocations: 39.81 kB / 1.425 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.005156/1.04, allocations: 1.984 MB / 1.427 GB, free: 12.73 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003977/1.044, allocations: 1.271 MB / 1.428 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/1.048, allocations: 1.454 MB / 1.43 GB, free: 10.01 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006937/1.055, allocations: 5.446 MB / 1.435 GB, free: 4.551 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/1.057, allocations: 1.112 MB / 1.436 GB, free: 3.387 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002945/1.06, allocations: 1.699 MB / 1.438 GB, free: 1.684 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/1.063, allocations: 1.498 MB / 1.439 GB, free: 184 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006467/1.064, allocations: 276 kB / 1.439 GB, free: 15.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004339/1.068, allocations: 2.356 MB / 1.442 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002867/1.071, allocations: 3.014 MB / 1.445 GB, free: 10.53 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003859/1.075, allocations: 2.939 MB / 1.447 GB, free: 7.578 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/1.089, allocations: 10.85 MB / 1.458 GB, free: 12.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.089, allocations: 0 / 1.458 GB, free: 12.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.753e-06/1.089, allocations: 0 / 1.458 GB, free: 12.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002264/1.09, allocations: 0 / 1.458 GB, free: 12.7 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.0211/1.111, allocations: 8.46 MB / 1.466 GB, free: 4.141 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.111, allocations: 12.02 kB / 1.466 GB, free: 4.129 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000423/1.111, allocations: 223.9 kB / 1.466 GB, free: 3.898 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/1.115, allocations: 0.6261 MB / 1.467 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9165/2.031, allocations: 276.1 MB / 1.737 GB, free: 196.2 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/2.031, allocations: 138.9 kB / 1.737 GB, free: 196.1 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005977/2.032, allocations: 188 kB / 1.737 GB, free: 195.9 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/2.036, allocations: 1.96 MB / 1.739 GB, free: 193.9 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/2.036, allocations: 7.938 kB / 1.739 GB, free: 193.9 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/2.036, allocations: 64 kB / 1.739 GB, free: 193.8 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/2.036, allocations: 36 kB / 1.739 GB, free: 193.8 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/2.039, allocations: 1.978 MB / 1.741 GB, free: 191.8 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04452/2.083, allocations: 70.44 MB / 1.81 GB, free: 121.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/2.086, allocations: 1.781 MB / 1.812 GB, free: 119.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/2.087, allocations: 1.081 MB / 1.813 GB, free: 118.2 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.505e-05/2.087, allocations: 37.09 kB / 1.813 GB, free: 118.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/2.089, allocations: 1.192 MB / 1.814 GB, free: 117 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 3.076e-06/2.089, allocations: 7.844 kB / 1.814 GB, free: 117 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.008485/2.097, allocations: 3.732 MB / 1.817 GB, free: 113.2 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/2.098, allocations: 338.5 kB / 1.818 GB, free: 112.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3491/2.447, allocations: 315.9 MB / 2.126 GB, free: 4.84 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0004395/2.447, allocations: 65.7 kB / 2.126 GB, free: 4.77 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.003613/2.451, allocations: 2.237 MB / 2.129 GB, free: 2.527 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/2.452, allocations: 412.5 kB / 2.129 GB, free: 2.121 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008161/2.452, allocations: 463 kB / 2.129 GB, free: 1.668 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001491/2.453, allocations: 309.1 kB / 2.13 GB, free: 1.363 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/2.455, allocations: 1.523 MB / 2.131 GB, free: 15.84 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/2.458, allocations: 1.831 MB / 2.133 GB, free: 13.91 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004789/2.463, allocations: 3.232 MB / 2.136 GB, free: 10.59 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/2.463, allocations: 4 kB / 2.136 GB, free: 10.59 MB / 1.514 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009797/2.473, allocations: 4.294 MB / 2.14 GB, free: 6.273 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/2.473, allocations: 171.5 kB / 2.14 GB, free: 6.102 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/2.473, allocations: 4 kB / 2.14 GB, free: 6.098 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/2.474, allocations: 92.92 kB / 2.141 GB, free: 6.004 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/2.475, allocations: 395.4 kB / 2.141 GB, free: 5.617 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/2.477, allocations: 1.648 MB / 2.143 GB, free: 3.828 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/2.482, allocations: 0.6419 MB / 2.143 GB, free: 3.184 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/2.482, allocations: 87.97 kB / 2.143 GB, free: 3.098 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.004394/2.487, allocations: 2.16 MB / 2.145 GB, free: 0.9219 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003216/2.49, allocations: 488.7 kB / 2.146 GB, free: 452 kB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007133/2.497, allocations: 3.372 MB / 2.149 GB, free: 13.05 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/2.497, allocations: 15.17 kB / 2.149 GB, free: 13.04 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/2.497, allocations: 0 / 2.149 GB, free: 13.04 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/2.497, allocations: 7.922 kB / 2.149 GB, free: 13.03 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009449/2.507, allocations: 4.092 MB / 2.153 GB, free: 8.883 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/2.507, allocations: 4 kB / 2.153 GB, free: 8.879 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009601/2.508, allocations: 183.7 kB / 2.153 GB, free: 8.699 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/2.508, allocations: 72.78 kB / 2.153 GB, free: 8.625 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/2.509, allocations: 43.97 kB / 2.153 GB, free: 8.582 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/2.511, allocations: 1.658 MB / 2.155 GB, free: 6.773 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.511, allocations: 3.938 kB / 2.155 GB, free: 6.77 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008796/2.52, allocations: 3.062 MB / 2.158 GB, free: 3.676 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004707/2.525, allocations: 1.804 MB / 2.16 GB, free: 1.852 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002032/2.527, allocations: 28 kB / 2.16 GB, free: 1.824 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003158/2.53, allocations: 415.9 kB / 2.16 GB, free: 1.418 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002849/2.53, allocations: 96.8 kB / 2.16 GB, free: 1.324 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/2.53, allocations: 63.97 kB / 2.16 GB, free: 1.262 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.8226/3.353, allocations: 251.5 MB / 2.406 GB, free: 361.5 MB / 1.545 GB Notification: Performance of sort global known variables: time 9.72e-07/3.353, allocations: 0 / 2.406 GB, free: 361.5 MB / 1.545 GB Notification: Performance of remove unused functions: time 0.004828/3.358, allocations: 1.419 MB / 2.407 GB, free: 360.3 MB / 1.545 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.01002/3.368, allocations: 4.492 MB / 2.412 GB, free: 356.5 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.004432/3.372, allocations: 4.33 MB / 2.416 GB, free: 352.1 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/3.372, allocations: 0 / 2.416 GB, free: 352.1 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/3.374, allocations: 1.905 MB / 2.418 GB, free: 350.2 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0047/3.379, allocations: 0.6131 MB / 2.418 GB, free: 349.6 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.167/5.546, allocations: 1.258 GB / 3.676 GB, free: 241.8 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/5.548, allocations: 3.025 MB / 3.679 GB, free: 238.7 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.00407/5.553, allocations: 1.688 MB / 3.681 GB, free: 237.2 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/5.557, allocations: 2.356 MB / 3.683 GB, free: 234.8 MB / 1.545 GB Notification: Performance of SimCode: time 8.92e-07/5.557, allocations: 0 / 3.683 GB, free: 234.8 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.207/6.764, allocations: 273.4 MB / 3.95 GB, free: 0.5696 GB / 1.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.93/30.69, allocations: 15.53 kB / 3.95 GB, free: 0.5696 GB / 1.561 GB " [Timeout remaining time 269] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 37.522051830776036]