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.001254/0.001254, allocations: 105.4 kB / 16.45 MB, free: 6.445 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.00136/0.00136, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.758/2.758, allocations: 497.2 MB / 0.7811 GB, free: 11.93 MB / 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.001889/0.001889, allocations: 71.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.889, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007167/0.8962, allocations: 8.252 MB / 1.312 GB, free: 26.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1946/1.091, allocations: 160 MB / 1.468 GB, free: 6.207 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/1.093, allocations: 41.81 kB / 1.468 GB, free: 6.191 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006536/1.1, allocations: 2.013 MB / 1.47 GB, free: 5.316 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004328/1.104, allocations: 1.292 MB / 1.472 GB, free: 4.551 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/1.108, allocations: 1.449 MB / 1.473 GB, free: 3.539 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007538/1.116, allocations: 5.399 MB / 1.478 GB, free: 204 kB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.117, allocations: 0.7813 MB / 1.479 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003503/1.121, allocations: 1.705 MB / 1.481 GB, free: 14.64 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/1.124, allocations: 1.603 MB / 1.482 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008449/1.125, allocations: 276.7 kB / 1.483 GB, free: 13.58 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/1.131, allocations: 2.43 MB / 1.485 GB, free: 12.37 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.003521/1.134, allocations: 3.092 MB / 1.488 GB, free: 10.87 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.005399/1.14, allocations: 2.938 MB / 1.491 GB, free: 8.246 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/1.155, allocations: 10.86 MB / 1.501 GB, free: 13.36 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.155, allocations: 0 / 1.501 GB, free: 13.36 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.533e-06/1.155, allocations: 4 kB / 1.501 GB, free: 13.35 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001997/1.156, allocations: 4 kB / 1.501 GB, free: 13.35 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: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.02045/1.176, allocations: 8.464 MB / 1.51 GB, free: 4.789 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.176, allocations: 8.031 kB / 1.51 GB, free: 4.781 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003328/1.176, allocations: 219.9 kB / 1.51 GB, free: 4.555 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/1.179, allocations: 0.626 MB / 1.51 GB, free: 3.926 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2842/1.464, allocations: 276.1 MB / 1.78 GB, free: 15.64 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.464, allocations: 142.9 kB / 1.78 GB, free: 15.5 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/1.464, allocations: 184 kB / 1.78 GB, free: 15.32 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/1.468, allocations: 1.96 MB / 1.782 GB, free: 13.29 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/1.468, allocations: 4 kB / 1.782 GB, free: 13.28 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.468, allocations: 64 kB / 1.782 GB, free: 13.22 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/1.468, allocations: 40 kB / 1.782 GB, free: 13.18 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/1.471, allocations: 1.982 MB / 1.784 GB, free: 11.19 MB / 1.467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07051/1.541, allocations: 70.45 MB / 1.853 GB, free: 4.469 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/1.545, allocations: 1.579 MB / 1.855 GB, free: 2.891 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/1.546, allocations: 0.9096 MB / 1.856 GB, free: 1.977 MB / 1.529 GB Notification: Performance of preOpt evalFunc (simulation): time 8.894e-05/1.546, allocations: 33.02 kB / 1.856 GB, free: 1.945 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/1.548, allocations: 1.192 MB / 1.857 GB, free: 0.7344 MB / 1.529 GB Notification: Performance of pre-optimization done (n=117): time 2.765e-06/1.548, allocations: 0 / 1.857 GB, free: 0.7344 MB / 1.529 GB Notification: Performance of matching and sorting (n=117): time 0.008612/1.556, allocations: 3.748 MB / 1.86 GB, free: 12.95 MB / 1.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002799/1.557, allocations: 350.5 kB / 1.861 GB, free: 12.56 MB / 1.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8506/2.407, allocations: 315.9 MB / 2.169 GB, free: 268.2 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003804/2.408, allocations: 65.7 kB / 2.169 GB, free: 268.2 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002331/2.41, allocations: 2.245 MB / 2.172 GB, free: 266.3 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/2.41, allocations: 400.8 kB / 2.172 GB, free: 266.2 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/2.411, allocations: 466.5 kB / 2.172 GB, free: 265.9 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 3.625e-05/2.411, allocations: 301.1 kB / 2.173 GB, free: 265.6 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/2.413, allocations: 1.522 MB / 2.174 GB, free: 264.2 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/2.414, allocations: 1.833 MB / 2.176 GB, free: 262.5 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/2.418, allocations: 3.229 MB / 2.179 GB, free: 259.4 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/2.418, allocations: 4 kB / 2.179 GB, free: 259.4 MB / 1.545 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007166/2.425, allocations: 4.324 MB / 2.183 GB, free: 255.1 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/2.425, allocations: 170.2 kB / 2.184 GB, free: 254.9 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/2.425, allocations: 11.88 kB / 2.184 GB, free: 254.9 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/2.425, allocations: 92.77 kB / 2.184 GB, free: 254.8 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/2.427, allocations: 388.2 kB / 2.184 GB, free: 254.4 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/2.429, allocations: 1.649 MB / 2.186 GB, free: 252.6 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/2.433, allocations: 0.6504 MB / 2.186 GB, free: 252.1 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/2.433, allocations: 87.88 kB / 2.186 GB, free: 252 MB / 1.545 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.002965/2.436, allocations: 2.165 MB / 2.188 GB, free: 249.8 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002661/2.438, allocations: 492.7 kB / 2.189 GB, free: 249.3 MB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/2.444, allocations: 3.394 MB / 2.192 GB, free: 246 MB / 1.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/2.444, allocations: 15.84 kB / 2.192 GB, free: 245.9 MB / 1.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/2.444, allocations: 0 / 2.192 GB, free: 245.9 MB / 1.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/2.444, allocations: 7.828 kB / 2.192 GB, free: 245.9 MB / 1.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/2.45, allocations: 4.096 MB / 2.196 GB, free: 241.8 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/2.45, allocations: 0 / 2.196 GB, free: 241.8 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/2.451, allocations: 183.7 kB / 2.196 GB, free: 241.7 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/2.451, allocations: 76.25 kB / 2.197 GB, free: 241.6 MB / 1.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001418/2.451, allocations: 39.97 kB / 2.197 GB, free: 241.6 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/2.453, allocations: 1.655 MB / 2.198 GB, free: 239.8 MB / 1.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/2.453, allocations: 0 / 2.198 GB, free: 239.8 MB / 1.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/2.459, allocations: 3.093 MB / 2.201 GB, free: 236.6 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00448/2.463, allocations: 1.801 MB / 2.203 GB, free: 234.8 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/2.466, allocations: 31.94 kB / 2.203 GB, free: 234.8 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/2.469, allocations: 411.9 kB / 2.203 GB, free: 234.4 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/2.469, allocations: 100.9 kB / 2.203 GB, free: 234.3 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/2.469, allocations: 63.97 kB / 2.204 GB, free: 234.2 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.1587/2.628, allocations: 251.5 MB / 2.449 GB, free: 14.7 MB / 1.576 GB Notification: Performance of sort global known variables: time 2.2e-07/2.628, allocations: 4 kB / 2.449 GB, free: 14.7 MB / 1.576 GB Notification: Performance of remove unused functions: time 0.004874/2.633, allocations: 1.414 MB / 2.451 GB, free: 13.41 MB / 1.576 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.01028/2.643, allocations: 4.523 MB / 2.455 GB, free: 9.215 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.005277/2.649, allocations: 3.331 MB / 2.458 GB, free: 5.863 MB / 1.576 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/2.649, allocations: 0 / 2.458 GB, free: 5.863 MB / 1.576 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/2.651, allocations: 1.54 MB / 2.46 GB, free: 4.305 MB / 1.576 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/2.655, allocations: 0.611 MB / 2.46 GB, free: 3.715 MB / 1.576 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.733/5.387, allocations: 1.258 GB / 3.718 GB, free: 0.5073 GB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003531/5.391, allocations: 3.013 MB / 3.721 GB, free: 0.5062 GB / 1.592 GB Notification: Performance of simCode: alias equations: time 0.00441/5.395, allocations: 1.693 MB / 3.723 GB, free: 0.506 GB / 1.592 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004064/5.399, allocations: 2.353 MB / 3.725 GB, free: 0.5044 GB / 1.592 GB Notification: Performance of SimCode: time 1.193e-06/5.399, allocations: 2.812 kB / 3.725 GB, free: 0.5044 GB / 1.592 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3334/5.733, allocations: 287.5 MB / 4.006 GB, free: 274 MB / 1.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.8/30.53, allocations: 13.16 kB / 4.006 GB, free: 274 MB / 1.592 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.473876578267664]