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.001505/0.001505, allocations: 107.8 kB / 16.45 MB, free: 6.453 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.00159/0.00159, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.363/1.363, allocations: 230.6 MB / 252.8 MB, free: 8.949 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 2.99/2.99, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.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.001975/0.001975, allocations: 68.84 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00948/0.3045, allocations: 7.031 MB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1826/0.4872, allocations: 158.7 MB / 1.483 GB, free: 12.88 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.4886, allocations: 31.75 kB / 1.483 GB, free: 12.85 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005168/0.4937, allocations: 1.827 MB / 1.485 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003401/0.4971, allocations: 0.9167 MB / 1.485 GB, free: 10.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.5001, allocations: 1.002 MB / 1.486 GB, free: 9.105 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.504, allocations: 2.59 MB / 1.489 GB, free: 6.508 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.5056, allocations: 0.6566 MB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.5074, allocations: 0.9423 MB / 1.49 GB, free: 4.855 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.5092, allocations: 0.9649 MB / 1.491 GB, free: 3.887 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005552/0.5097, allocations: 191.9 kB / 1.492 GB, free: 3.699 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004725/0.5145, allocations: 2.376 MB / 1.494 GB, free: 1.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.516, allocations: 1.247 MB / 1.495 GB, free: 72 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.5188, allocations: 1.434 MB / 1.497 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.009576/0.5284, allocations: 5.517 MB / 1.502 GB, free: 9.094 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5284, allocations: 0 / 1.502 GB, free: 9.094 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5284, allocations: 0 / 1.502 GB, free: 9.094 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001414/0.5286, allocations: 0 / 1.502 GB, free: 9.094 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.01061/0.5392, allocations: 4.103 MB / 1.506 GB, free: 4.918 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5392, allocations: 11.98 kB / 1.506 GB, free: 4.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000412/0.5396, allocations: 198.3 kB / 1.506 GB, free: 4.703 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/0.5427, allocations: 442.8 kB / 1.507 GB, free: 4.27 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09154/0.6342, allocations: 87.68 MB / 1.592 GB, free: 12.49 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.6344, allocations: 102.5 kB / 1.592 GB, free: 12.39 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.6348, allocations: 136 kB / 1.592 GB, free: 12.25 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00344/0.6382, allocations: 1.364 MB / 1.594 GB, free: 10.83 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.6382, allocations: 3.938 kB / 1.594 GB, free: 10.82 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.6384, allocations: 55.98 kB / 1.594 GB, free: 10.77 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.6385, allocations: 35.94 kB / 1.594 GB, free: 10.73 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.6415, allocations: 1.496 MB / 1.595 GB, free: 9.23 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6185/1.26, allocations: 23.99 MB / 1.619 GB, free: 278.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/1.262, allocations: 1.051 MB / 1.62 GB, free: 278.2 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007236/1.263, allocations: 410.4 kB / 1.62 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-05/1.263, allocations: 38.72 kB / 1.62 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.264, allocations: 0.6546 MB / 1.621 GB, free: 277.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.615e-06/1.264, allocations: 0 / 1.621 GB, free: 277.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004605/1.269, allocations: 1.751 MB / 1.623 GB, free: 277.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/1.269, allocations: 193.7 kB / 1.623 GB, free: 277 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07689/1.346, allocations: 99.44 MB / 1.72 GB, free: 186.4 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/1.346, allocations: 53.7 kB / 1.72 GB, free: 186.3 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/1.347, allocations: 1.085 MB / 1.721 GB, free: 185.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/1.347, allocations: 337.9 kB / 1.721 GB, free: 185.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/1.347, allocations: 238.8 kB / 1.721 GB, free: 184.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/1.347, allocations: 357.9 kB / 1.722 GB, free: 184.5 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/1.348, allocations: 485.7 kB / 1.722 GB, free: 184 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/1.349, allocations: 0.6295 MB / 1.723 GB, free: 183.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.35, allocations: 1.006 MB / 1.724 GB, free: 182.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.35, allocations: 0 / 1.724 GB, free: 182.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00311/1.353, allocations: 1.516 MB / 1.725 GB, free: 180.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.353, allocations: 8 kB / 1.725 GB, free: 180.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.353, allocations: 5 kB / 1.725 GB, free: 180.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/1.354, allocations: 88.55 kB / 1.725 GB, free: 180.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000817/1.355, allocations: 235.3 kB / 1.726 GB, free: 180.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/1.356, allocations: 1.634 MB / 1.727 GB, free: 178.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.358, allocations: 281.4 kB / 1.728 GB, free: 178.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/1.358, allocations: 47.97 kB / 1.728 GB, free: 178.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.0009623/1.359, allocations: 0.8135 MB / 1.728 GB, free: 177.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/1.36, allocations: 244.5 kB / 1.729 GB, free: 177.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/1.362, allocations: 1.615 MB / 1.73 GB, free: 175.8 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.362, allocations: 12 kB / 1.73 GB, free: 175.8 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.362, allocations: 0 / 1.73 GB, free: 175.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.362, allocations: 10.05 kB / 1.73 GB, free: 175.8 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.364, allocations: 1.973 MB / 1.732 GB, free: 173.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.364, allocations: 3.938 kB / 1.732 GB, free: 173.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/1.365, allocations: 175.8 kB / 1.732 GB, free: 173.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000417/1.365, allocations: 80.44 kB / 1.732 GB, free: 173.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/1.365, allocations: 31.98 kB / 1.732 GB, free: 173.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/1.367, allocations: 1.664 MB / 1.734 GB, free: 171.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.367, allocations: 0 / 1.734 GB, free: 171.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/1.369, allocations: 1.37 MB / 1.735 GB, free: 170.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/1.37, allocations: 0.7831 MB / 1.736 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/1.37, allocations: 24 kB / 1.736 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.371, allocations: 183.5 kB / 1.736 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.372, allocations: 84.88 kB / 1.736 GB, free: 169.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-05/1.372, allocations: 47.97 kB / 1.736 GB, free: 169.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.04621/1.418, allocations: 79.42 MB / 1.814 GB, free: 89.75 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.81e-07/1.418, allocations: 3.609 kB / 1.814 GB, free: 89.75 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002406/1.42, allocations: 1.035 MB / 1.815 GB, free: 88.84 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.005295/1.426, allocations: 2.8 MB / 1.818 GB, free: 86.38 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001908/1.427, allocations: 1.197 MB / 1.819 GB, free: 85.18 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.427, allocations: 0 / 1.819 GB, free: 85.18 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.000904/1.428, allocations: 0.633 MB / 1.82 GB, free: 84.54 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.43, allocations: 421.9 kB / 1.82 GB, free: 84.14 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.031/2.461, allocations: 407.1 MB / 2.218 GB, free: 0.5746 GB / 1.607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/2.462, allocations: 1.728 MB / 2.219 GB, free: 0.5739 GB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.002129/2.465, allocations: 0.7764 MB / 2.22 GB, free: 0.5739 GB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/2.466, allocations: 1.117 MB / 2.221 GB, free: 0.5739 GB / 1.607 GB Notification: Performance of SimCode: time 1.032e-06/2.466, allocations: 0 / 2.221 GB, free: 0.5739 GB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/2.616, allocations: 113.5 MB / 2.332 GB, free: 499.6 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/18.9, allocations: 2.75 kB / 2.332 GB, free: 499.6 MB / 1.607 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.419979739934206]