Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001679/0.001679, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002119/0.002119, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.6/1.6, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.183/3.183, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.WindowRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_12_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.001987/0.001987, allocations: 64.22 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.01146/0.3055, allocations: 7.268 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.4775, allocations: 140.7 MB / 1.471 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.4789, allocations: 51.62 kB / 1.471 GB, free: 12.97 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005156/0.484, allocations: 2.14 MB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00337/0.4874, allocations: 1.318 MB / 1.475 GB, free: 9.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003382/0.4908, allocations: 1.505 MB / 1.476 GB, free: 8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006447/0.4972, allocations: 5.898 MB / 1.482 GB, free: 2.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.4986, allocations: 0.7501 MB / 1.482 GB, free: 1.293 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.5014, allocations: 1.749 MB / 1.484 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002346/0.5037, allocations: 1.631 MB / 1.486 GB, free: 13.9 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004726/0.5042, allocations: 280 kB / 1.486 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.509, allocations: 2.808 MB / 1.489 GB, free: 10.82 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.5119, allocations: 3.099 MB / 1.492 GB, free: 7.711 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003511/0.5154, allocations: 2.368 MB / 1.494 GB, free: 5.332 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.5286, allocations: 11 MB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5286, allocations: 0 / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5286, allocations: 0 / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001698/0.5288, allocations: 0 / 1.505 GB, free: 10.3 MB / 1.201 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.02053/0.5493, allocations: 8.548 MB / 1.513 GB, free: 1.668 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5494, allocations: 12.03 kB / 1.513 GB, free: 1.656 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.406e-05/0.5494, allocations: 39.11 kB / 1.513 GB, free: 1.617 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000355/0.5498, allocations: 219.9 kB / 1.513 GB, free: 1.391 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.554, allocations: 0.7002 MB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8729/1.427, allocations: 276.1 MB / 1.784 GB, free: 119 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.427, allocations: 138.9 kB / 1.784 GB, free: 118.8 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/1.428, allocations: 184 kB / 1.784 GB, free: 118.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004562/1.432, allocations: 2.166 MB / 1.786 GB, free: 116.4 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.432, allocations: 0 / 1.786 GB, free: 116.4 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/1.433, allocations: 68 kB / 1.786 GB, free: 116.3 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/1.433, allocations: 36 kB / 1.786 GB, free: 116.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/1.435, allocations: 1.933 MB / 1.788 GB, free: 114.3 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04812/1.483, allocations: 68.75 MB / 1.855 GB, free: 45.44 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/1.486, allocations: 1.553 MB / 1.857 GB, free: 43.88 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/1.487, allocations: 0.8722 MB / 1.858 GB, free: 43 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/1.487, allocations: 28.98 kB / 1.858 GB, free: 42.97 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/1.489, allocations: 1.276 MB / 1.859 GB, free: 41.64 MB / 1.295 GB Notification: Performance of pre-optimization done (n=117): time 4.298e-06/1.489, allocations: 0 / 1.859 GB, free: 41.64 MB / 1.295 GB Notification: Performance of matching and sorting (n=117): time 0.007731/1.496, allocations: 3.453 MB / 1.862 GB, free: 38.16 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.497, allocations: 314.5 kB / 1.863 GB, free: 37.81 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3701/1.867, allocations: 316 MB / 2.171 GB, free: 9.805 MB / 1.576 GB Notification: Performance of collectPreVariables (initialization): time 0.0004599/1.867, allocations: 65.7 kB / 2.171 GB, free: 9.734 MB / 1.576 GB Notification: Performance of collectInitialEqns (initialization): time 0.003543/1.871, allocations: 2.249 MB / 2.174 GB, free: 7.48 MB / 1.576 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007615/1.871, allocations: 408.5 kB / 2.174 GB, free: 7.078 MB / 1.576 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008195/1.872, allocations: 455.5 kB / 2.174 GB, free: 6.629 MB / 1.576 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.872, allocations: 305.1 kB / 2.175 GB, free: 6.328 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/1.875, allocations: 1.509 MB / 2.176 GB, free: 4.812 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/1.878, allocations: 1.931 MB / 2.178 GB, free: 2.754 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004362/1.882, allocations: 2.89 MB / 2.181 GB, free: 15.78 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/1.882, allocations: 0 / 2.181 GB, free: 15.78 MB / 1.592 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009274/1.891, allocations: 4.133 MB / 2.185 GB, free: 11.62 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/1.892, allocations: 137.6 kB / 2.185 GB, free: 11.48 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.892, allocations: 8 kB / 2.185 GB, free: 11.47 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006754/1.892, allocations: 98 kB / 2.185 GB, free: 11.38 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.894, allocations: 391.4 kB / 2.185 GB, free: 10.99 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.896, allocations: 1.538 MB / 2.187 GB, free: 9.336 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/1.901, allocations: 0.6479 MB / 2.188 GB, free: 8.688 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.901, allocations: 87.97 kB / 2.188 GB, free: 8.602 MB / 1.592 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.003949/1.905, allocations: 2.137 MB / 2.19 GB, free: 6.449 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002857/1.908, allocations: 488.7 kB / 2.19 GB, free: 5.969 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00692/1.915, allocations: 3.165 MB / 2.193 GB, free: 2.793 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.915, allocations: 16 kB / 2.193 GB, free: 2.777 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.915, allocations: 6.703 kB / 2.193 GB, free: 2.773 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/1.915, allocations: 7.922 kB / 2.193 GB, free: 2.766 MB / 1.592 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/1.924, allocations: 3.107 MB / 2.196 GB, free: 15.61 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/1.924, allocations: 0 / 2.196 GB, free: 15.61 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.925, allocations: 176.5 kB / 2.197 GB, free: 15.43 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005233/1.925, allocations: 76.78 kB / 2.197 GB, free: 15.36 MB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002224/1.926, allocations: 43.91 kB / 2.197 GB, free: 15.31 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/1.928, allocations: 1.551 MB / 2.198 GB, free: 13.65 MB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.928, allocations: 0 / 2.198 GB, free: 13.65 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007377/1.935, allocations: 2.86 MB / 2.201 GB, free: 10.75 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005149/1.94, allocations: 1.882 MB / 2.203 GB, free: 8.867 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001726/1.942, allocations: 28 kB / 2.203 GB, free: 8.84 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/1.945, allocations: 419.9 kB / 2.203 GB, free: 8.43 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000292/1.946, allocations: 100.8 kB / 2.203 GB, free: 8.332 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.946, allocations: 59.97 kB / 2.203 GB, free: 8.273 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.9128/2.858, allocations: 251.5 MB / 2.449 GB, free: 405.1 MB / 1.623 GB Notification: Performance of sort global known variables: time 7.92e-07/2.858, allocations: 4.656 kB / 2.449 GB, free: 405.1 MB / 1.623 GB Notification: Performance of remove unused functions: time 0.005892/2.864, allocations: 1.426 MB / 2.45 GB, free: 403.9 MB / 1.623 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.0109/2.875, allocations: 4.316 MB / 2.455 GB, free: 400.3 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.004727/2.88, allocations: 3.236 MB / 2.458 GB, free: 397 MB / 1.623 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/2.88, allocations: 0.7188 kB / 2.458 GB, free: 397 MB / 1.623 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/2.882, allocations: 1.451 MB / 2.459 GB, free: 395.5 MB / 1.623 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006965/2.889, allocations: 0.6225 MB / 2.46 GB, free: 395 MB / 1.623 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.366/5.254, allocations: 1.258 GB / 3.717 GB, free: 355.1 MB / 1.623 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/5.257, allocations: 2.485 MB / 3.72 GB, free: 352.6 MB / 1.623 GB Notification: Performance of simCode: alias equations: time 0.004042/5.261, allocations: 1.693 MB / 3.722 GB, free: 351 MB / 1.623 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004003/5.265, allocations: 2.358 MB / 3.724 GB, free: 348.7 MB / 1.623 GB Notification: Performance of SimCode: time 1.293e-06/5.265, allocations: 0 / 3.724 GB, free: 348.7 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3229/5.588, allocations: 292.6 MB / 4.01 GB, free: 57.68 MB / 1.623 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.58/32.16, allocations: 6.984 kB / 4.01 GB, free: 57.67 MB / 1.623 GB " [Timeout remaining time 267] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 40.49772755999584]