Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.001325/0.001325, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001431/0.001431, allocations: 209.6 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7678 GB, free: 9.434 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",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.002074/0.002074, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8594, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01162/0.871, allocations: 8.287 MB / 1.287 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2202/1.091, allocations: 162.9 MB / 1.446 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003169/1.094, allocations: 51.62 kB / 1.446 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006357/1.101, allocations: 2.026 MB / 1.448 GB, free: 14.56 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004674/1.105, allocations: 1.309 MB / 1.449 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/1.11, allocations: 1.448 MB / 1.451 GB, free: 11.81 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007029/1.117, allocations: 5.426 MB / 1.456 GB, free: 6.367 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/1.119, allocations: 0.7844 MB / 1.457 GB, free: 5.531 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/1.122, allocations: 1.734 MB / 1.459 GB, free: 3.793 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/1.125, allocations: 1.608 MB / 1.46 GB, free: 2.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009143/1.126, allocations: 284 kB / 1.46 GB, free: 1.902 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/1.131, allocations: 2.469 MB / 1.463 GB, free: 15.43 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003448/1.134, allocations: 3.099 MB / 1.466 GB, free: 12.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.004837/1.139, allocations: 2.951 MB / 1.469 GB, free: 9.359 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/1.155, allocations: 10.9 MB / 1.479 GB, free: 14.43 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.155, allocations: 0 / 1.479 GB, free: 14.43 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.724e-06/1.155, allocations: 0 / 1.479 GB, free: 14.43 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002347/1.156, allocations: 0 / 1.479 GB, free: 14.43 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.02247/1.178, allocations: 8.501 MB / 1.488 GB, free: 5.828 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.178, allocations: 8.031 kB / 1.488 GB, free: 5.82 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.442e-05/1.178, allocations: 39.11 kB / 1.488 GB, free: 5.781 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005494/1.179, allocations: 223.9 kB / 1.488 GB, free: 5.551 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/1.184, allocations: 0.7041 MB / 1.489 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2953/1.479, allocations: 276.1 MB / 1.758 GB, free: 0.5508 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/1.479, allocations: 138.9 kB / 1.758 GB, free: 424 kB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004844/1.479, allocations: 188 kB / 1.759 GB, free: 236 kB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/1.483, allocations: 1.964 MB / 1.761 GB, free: 14.18 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.484, allocations: 0 / 1.761 GB, free: 14.18 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/1.484, allocations: 64 kB / 1.761 GB, free: 14.12 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/1.484, allocations: 36 kB / 1.761 GB, free: 14.09 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/1.487, allocations: 1.978 MB / 1.763 GB, free: 12.1 MB / 1.451 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7066/2.194, allocations: 70.36 MB / 1.831 GB, free: 0.4891 GB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/2.197, allocations: 1.575 MB / 1.833 GB, free: 0.4886 GB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/2.199, allocations: 0.9046 MB / 1.834 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/2.199, allocations: 42.67 kB / 1.834 GB, free: 0.4884 GB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/2.201, allocations: 1.187 MB / 1.835 GB, free: 499.7 MB / 1.498 GB Notification: Performance of pre-optimization done (n=117): time 3.827e-06/2.201, allocations: 0 / 1.835 GB, free: 499.7 MB / 1.498 GB Notification: Performance of matching and sorting (n=117): time 0.01266/2.214, allocations: 3.755 MB / 1.839 GB, free: 498.8 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002913/2.214, allocations: 341.1 kB / 1.839 GB, free: 498.5 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3258/2.54, allocations: 316 MB / 2.147 GB, free: 211.3 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.0004738/2.54, allocations: 61.7 kB / 2.148 GB, free: 211.2 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.003178/2.544, allocations: 2.255 MB / 2.15 GB, free: 209.1 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/2.544, allocations: 399 kB / 2.15 GB, free: 208.8 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/2.545, allocations: 463.4 kB / 2.151 GB, free: 208.3 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/2.545, allocations: 304.2 kB / 2.151 GB, free: 208 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/2.547, allocations: 1.523 MB / 2.152 GB, free: 206.5 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/2.549, allocations: 1.837 MB / 2.154 GB, free: 204.6 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/2.553, allocations: 3.237 MB / 2.157 GB, free: 201.3 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/2.553, allocations: 0 / 2.157 GB, free: 201.3 MB / 1.498 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008641/2.562, allocations: 4.33 MB / 2.162 GB, free: 196.9 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.562, allocations: 169.6 kB / 2.162 GB, free: 196.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/2.562, allocations: 7.75 kB / 2.162 GB, free: 196.8 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/2.562, allocations: 96.17 kB / 2.162 GB, free: 196.7 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/2.564, allocations: 391.2 kB / 2.162 GB, free: 196.3 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/2.566, allocations: 1.648 MB / 2.164 GB, free: 194.5 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/2.57, allocations: 0.6417 MB / 2.164 GB, free: 193.9 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/2.571, allocations: 83.97 kB / 2.164 GB, free: 193.9 MB / 1.498 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.003797/2.574, allocations: 2.165 MB / 2.167 GB, free: 191.7 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003476/2.578, allocations: 493.6 kB / 2.167 GB, free: 191.2 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00642/2.584, allocations: 3.395 MB / 2.17 GB, free: 187.8 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/2.584, allocations: 16 kB / 2.17 GB, free: 187.8 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/2.584, allocations: 4 kB / 2.17 GB, free: 187.8 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/2.584, allocations: 7.969 kB / 2.17 GB, free: 187.8 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009204/2.594, allocations: 4.102 MB / 2.174 GB, free: 183.6 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/2.594, allocations: 3.938 kB / 2.174 GB, free: 183.6 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/2.595, allocations: 183.7 kB / 2.175 GB, free: 183.5 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/2.595, allocations: 72.78 kB / 2.175 GB, free: 183.4 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/2.595, allocations: 39.97 kB / 2.175 GB, free: 183.4 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/2.597, allocations: 1.663 MB / 2.176 GB, free: 181.5 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/2.597, allocations: 0 / 2.176 GB, free: 181.5 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007361/2.604, allocations: 3.094 MB / 2.179 GB, free: 178.4 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003984/2.608, allocations: 1.805 MB / 2.181 GB, free: 176.6 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002472/2.611, allocations: 28 kB / 2.181 GB, free: 176.6 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/2.615, allocations: 424 kB / 2.182 GB, free: 176.1 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/2.615, allocations: 96.86 kB / 2.182 GB, free: 176.1 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002718/2.616, allocations: 59.97 kB / 2.182 GB, free: 176 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.9588/3.574, allocations: 251.5 MB / 2.427 GB, free: 0.5442 GB / 1.561 GB Notification: Performance of sort global known variables: time 2.11e-07/3.574, allocations: 0 / 2.427 GB, free: 0.5442 GB / 1.561 GB Notification: Performance of remove unused functions: time 0.00737/3.582, allocations: 1.42 MB / 2.429 GB, free: 0.5441 GB / 1.561 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.01269/3.594, allocations: 4.528 MB / 2.433 GB, free: 0.5427 GB / 1.561 GB Notification: Performance of simCode: created initialization part: time 0.006307/3.601, allocations: 3.338 MB / 2.436 GB, free: 0.5417 GB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/3.601, allocations: 1.469 kB / 2.436 GB, free: 0.5417 GB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.002671/3.603, allocations: 1.534 MB / 2.438 GB, free: 0.5412 GB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007375/3.611, allocations: 0.6137 MB / 2.438 GB, free: 0.5409 GB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.32/5.931, allocations: 1.258 GB / 3.696 GB, free: 490.9 MB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004326/5.935, allocations: 3.02 MB / 3.699 GB, free: 488.5 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.004168/5.939, allocations: 1.696 MB / 3.701 GB, free: 487.1 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004434/5.944, allocations: 2.36 MB / 3.703 GB, free: 485 MB / 1.561 GB Notification: Performance of SimCode: time 1.182e-06/5.944, allocations: 0.9844 kB / 3.703 GB, free: 485 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3505/6.294, allocations: 287.8 MB / 3.984 GB, free: 199 MB / 1.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.42/31.72, allocations: 15.98 kB / 3.984 GB, free: 199 MB / 1.561 GB " [Timeout remaining time 268] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 39.46684952202486]