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.001408/0.001408, allocations: 116.1 kB / 17.17 MB, free: 6 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.001937/0.001937, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.802/2.802, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",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.001907/0.001907, allocations: 71.89 kB / 1.15 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8301, allocations: 176.1 MB / 1.321 GB, free: 7.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009207/0.8393, allocations: 7.052 MB / 1.328 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1938/1.033, allocations: 158.7 MB / 1.483 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/1.034, allocations: 31.75 kB / 1.483 GB, free: 15.77 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004588/1.039, allocations: 1.836 MB / 1.485 GB, free: 13.92 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/1.042, allocations: 0.9019 MB / 1.486 GB, free: 13.02 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/1.045, allocations: 0.9983 MB / 1.487 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003406/1.048, allocations: 2.601 MB / 1.49 GB, free: 9.422 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.049, allocations: 0.6567 MB / 1.49 GB, free: 8.715 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/1.051, allocations: 0.9345 MB / 1.491 GB, free: 7.777 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/1.052, allocations: 0.9669 MB / 1.492 GB, free: 6.809 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002797/1.053, allocations: 188 kB / 1.492 GB, free: 6.625 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/1.057, allocations: 2.38 MB / 1.495 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/1.058, allocations: 1.251 MB / 1.496 GB, free: 2.988 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/1.06, allocations: 1.427 MB / 1.497 GB, free: 1.555 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007517/1.067, allocations: 5.517 MB / 1.503 GB, free: 12.02 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.067, allocations: 0 / 1.503 GB, free: 12.02 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.883e-06/1.067, allocations: 4 kB / 1.503 GB, free: 12.02 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.876e-05/1.067, allocations: 0 / 1.503 GB, free: 12.02 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008131/1.076, allocations: 4.103 MB / 1.507 GB, free: 7.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.076, allocations: 15.98 kB / 1.507 GB, free: 7.824 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.155e-05/1.076, allocations: 30.73 kB / 1.507 GB, free: 7.793 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/1.076, allocations: 190.3 kB / 1.507 GB, free: 7.598 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002555/1.078, allocations: 454.7 kB / 1.507 GB, free: 7.152 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08968/1.168, allocations: 87.69 MB / 1.593 GB, free: 15.36 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.168, allocations: 106.5 kB / 1.593 GB, free: 15.25 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.168, allocations: 132 kB / 1.593 GB, free: 15.12 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/1.171, allocations: 1.36 MB / 1.594 GB, free: 13.7 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/1.171, allocations: 4 kB / 1.594 GB, free: 13.7 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/1.171, allocations: 56 kB / 1.595 GB, free: 13.64 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/1.171, allocations: 28 kB / 1.595 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/1.174, allocations: 1.504 MB / 1.596 GB, free: 12.11 MB / 1.279 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02467/1.198, allocations: 23.98 MB / 1.619 GB, free: 3.906 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/1.201, allocations: 1.061 MB / 1.62 GB, free: 2.836 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/1.201, allocations: 407.7 kB / 1.621 GB, free: 2.434 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 9.402e-05/1.201, allocations: 37.09 kB / 1.621 GB, free: 2.398 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/1.203, allocations: 0.6567 MB / 1.622 GB, free: 1.723 MB / 1.295 GB Notification: Performance of pre-optimization done (n=100): time 2.475e-06/1.203, allocations: 0 / 1.622 GB, free: 1.723 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.004833/1.207, allocations: 1.758 MB / 1.623 GB, free: 15.93 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.208, allocations: 192.9 kB / 1.623 GB, free: 15.7 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1129/1.32, allocations: 99.44 MB / 1.721 GB, free: 12.22 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.0003152/1.321, allocations: 45.7 kB / 1.721 GB, free: 12.17 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/1.322, allocations: 1.082 MB / 1.722 GB, free: 11.08 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004535/1.322, allocations: 337 kB / 1.722 GB, free: 10.75 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/1.323, allocations: 242.8 kB / 1.722 GB, free: 10.51 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.323, allocations: 357.9 kB / 1.723 GB, free: 10.15 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/1.324, allocations: 482.4 kB / 1.723 GB, free: 9.68 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.325, allocations: 0.6285 MB / 1.724 GB, free: 9.016 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/1.327, allocations: 1.006 MB / 1.725 GB, free: 7.992 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.327, allocations: 4 kB / 1.725 GB, free: 7.988 MB / 1.404 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003908/1.331, allocations: 1.523 MB / 1.726 GB, free: 6.453 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.331, allocations: 10.03 kB / 1.726 GB, free: 6.445 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.331, allocations: 0 / 1.726 GB, free: 6.445 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/1.331, allocations: 84.83 kB / 1.726 GB, free: 6.359 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/1.332, allocations: 239.6 kB / 1.726 GB, free: 6.125 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/1.335, allocations: 1.63 MB / 1.728 GB, free: 4.348 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001932/1.337, allocations: 274.8 kB / 1.728 GB, free: 4.078 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.337, allocations: 51.97 kB / 1.728 GB, free: 4.027 MB / 1.404 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.001414/1.338, allocations: 0.8117 MB / 1.729 GB, free: 3.207 MB / 1.404 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008427/1.339, allocations: 242.3 kB / 1.729 GB, free: 2.969 MB / 1.404 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/1.342, allocations: 1.616 MB / 1.731 GB, free: 1.34 MB / 1.404 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.342, allocations: 8 kB / 1.731 GB, free: 1.332 MB / 1.404 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.342, allocations: 4 kB / 1.731 GB, free: 1.328 MB / 1.404 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.342, allocations: 7.922 kB / 1.731 GB, free: 1.32 MB / 1.404 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/1.345, allocations: 1.98 MB / 1.733 GB, free: 15.29 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.345, allocations: 0 / 1.733 GB, free: 15.29 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/1.346, allocations: 179.8 kB / 1.733 GB, free: 15.11 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/1.346, allocations: 72.78 kB / 1.733 GB, free: 15.04 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/1.346, allocations: 27.98 kB / 1.733 GB, free: 15.01 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.349, allocations: 1.666 MB / 1.735 GB, free: 13.2 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.349, allocations: 0 / 1.735 GB, free: 13.2 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/1.352, allocations: 1.374 MB / 1.736 GB, free: 11.8 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.353, allocations: 0.7799 MB / 1.737 GB, free: 11 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/1.353, allocations: 31.88 kB / 1.737 GB, free: 10.97 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.354, allocations: 183.9 kB / 1.737 GB, free: 10.79 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.354, allocations: 84.88 kB / 1.737 GB, free: 10.71 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.958e-05/1.355, allocations: 47.97 kB / 1.737 GB, free: 10.66 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.07902/1.434, allocations: 79.41 MB / 1.815 GB, free: 11.22 MB / 1.498 GB Notification: Performance of sort global known variables: time 2.2e-07/1.434, allocations: 4 kB / 1.815 GB, free: 11.22 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.003223/1.437, allocations: 1.037 MB / 1.816 GB, free: 10.18 MB / 1.498 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.006398/1.443, allocations: 2.795 MB / 1.818 GB, free: 7.535 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.002651/1.446, allocations: 1.196 MB / 1.82 GB, free: 6.328 MB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.446, allocations: 320 / 1.82 GB, free: 6.328 MB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/1.447, allocations: 0.6329 MB / 1.82 GB, free: 5.684 MB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.449, allocations: 427.7 kB / 1.821 GB, free: 5.281 MB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.929/2.378, allocations: 407.1 MB / 2.218 GB, free: 108.4 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/2.379, allocations: 1.723 MB / 2.22 GB, free: 106.7 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.001665/2.381, allocations: 0.7726 MB / 2.221 GB, free: 106.1 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/2.382, allocations: 1.108 MB / 2.222 GB, free: 104.9 MB / 1.498 GB Notification: Performance of SimCode: time 5.81e-07/2.382, allocations: 4 kB / 2.222 GB, free: 104.9 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/2.525, allocations: 113.6 MB / 2.333 GB, free: 8.383 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/19.18, allocations: 15.44 kB / 2.333 GB, free: 8.371 MB / 1.514 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.760564308031462]