Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002073/0.002074, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002521/0.002521, allocations: 186.8 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 63.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 151.6 MB / 1.167 GB, free: 6.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01039/0.3783, allocations: 7.033 MB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9118/1.29, allocations: 155.6 MB / 1.325 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/1.292, allocations: 25.47 kB / 1.325 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006639/1.299, allocations: 1.829 MB / 1.327 GB, free: 6.113 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/1.302, allocations: 0.8921 MB / 1.328 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/1.305, allocations: 1.029 MB / 1.329 GB, free: 5.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005253/1.31, allocations: 3.676 MB / 1.333 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/1.312, allocations: 0.9228 MB / 1.334 GB, free: 2.977 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003403/1.316, allocations: 1.197 MB / 1.335 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/1.319, allocations: 1.061 MB / 1.336 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0013/1.32, allocations: 199.2 kB / 1.336 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006746/1.327, allocations: 2.259 MB / 1.338 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001715/1.329, allocations: 1.357 MB / 1.34 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/1.33, allocations: 1.033 MB / 1.341 GB, free: 256 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007143/1.337, allocations: 4.035 MB / 1.344 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.337, allocations: 1.281 kB / 1.344 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/1.337, allocations: 0 / 1.344 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.175e-05/1.337, allocations: 0 / 1.344 GB, free: 14.82 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.005099/1.342, allocations: 2.681 MB / 1.347 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.343, allocations: 8.844 kB / 1.347 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/1.343, allocations: 280.8 kB / 1.347 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004074/1.347, allocations: 3.033 MB / 1.35 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/1.348, allocations: 114.8 kB / 1.35 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/1.348, allocations: 150.2 kB / 1.351 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/1.351, allocations: 1.54 MB / 1.352 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.351, allocations: 0 / 1.352 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.351, allocations: 59.83 kB / 1.352 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.351, allocations: 33.34 kB / 1.352 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/1.353, allocations: 1.603 MB / 1.354 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008251/1.361, allocations: 5.739 MB / 1.359 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/1.363, allocations: 1.443 MB / 1.361 GB, free: 5.926 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/1.364, allocations: 0.889 MB / 1.362 GB, free: 5.547 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/1.365, allocations: 39.23 kB / 1.362 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/1.366, allocations: 0.9466 MB / 1.363 GB, free: 5.086 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 2.655e-06/1.366, allocations: 0 / 1.363 GB, free: 5.086 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.003937/1.37, allocations: 2.68 MB / 1.365 GB, free: 4.074 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/1.37, allocations: 324.4 kB / 1.365 GB, free: 3.781 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/1.374, allocations: 4.383 MB / 1.37 GB, free: 2.195 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.375, allocations: 60.11 kB / 1.37 GB, free: 2.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/1.375, allocations: 0.7091 MB / 1.371 GB, free: 1.523 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/1.375, allocations: 361 kB / 1.371 GB, free: 1.215 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/1.376, allocations: 1.095 MB / 1.372 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.548e-05/1.377, allocations: 305.1 kB / 1.372 GB, free: 360 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006173/1.383, allocations: 7.037 MB / 1.379 GB, free: 10.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006669/1.389, allocations: 7.301 MB / 1.386 GB, free: 3.316 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008526/1.398, allocations: 9 MB / 1.395 GB, free: 10.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.398, allocations: 3.938 kB / 1.395 GB, free: 10.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01556/1.414, allocations: 15.87 MB / 1.411 GB, free: 10.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.414, allocations: 153.7 kB / 1.411 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.414, allocations: 4 kB / 1.411 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.414, allocations: 4 kB / 1.411 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.415, allocations: 327.5 kB / 1.411 GB, free: 9.859 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/1.415, allocations: 4 kB / 1.411 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.417, allocations: 201.1 kB / 1.411 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/1.417, allocations: 79.97 kB / 1.411 GB, free: 9.582 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001198/1.418, allocations: 0.8409 MB / 1.412 GB, free: 8.723 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/1.418, allocations: 166.5 kB / 1.412 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/1.422, allocations: 2.366 MB / 1.415 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/1.422, allocations: 12 kB / 1.415 GB, free: 6.168 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.422, allocations: 4 kB / 1.415 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/1.422, allocations: 11.91 kB / 1.415 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/1.424, allocations: 1.357 MB / 1.416 GB, free: 4.742 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.424, allocations: 4 kB / 1.416 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.424, allocations: 159.7 kB / 1.416 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.424, allocations: 4 kB / 1.416 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/1.425, allocations: 43.97 kB / 1.416 GB, free: 4.535 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.425, allocations: 4 kB / 1.416 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.425, allocations: 0 / 1.416 GB, free: 4.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/1.428, allocations: 2.257 MB / 1.418 GB, free: 2.246 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/1.429, allocations: 411.6 kB / 1.419 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/1.429, allocations: 28 kB / 1.419 GB, free: 1.797 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/1.43, allocations: 71.92 kB / 1.419 GB, free: 1.727 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/1.43, allocations: 84.89 kB / 1.419 GB, free: 1.645 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.43, allocations: 51.97 kB / 1.419 GB, free: 1.594 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002614/1.432, allocations: 2.795 MB / 1.422 GB, free: 14.8 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.01e-07/1.432, allocations: 0 / 1.422 GB, free: 14.8 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002726/1.435, allocations: 1.084 MB / 1.423 GB, free: 13.71 MB / 1.092 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002279/1.438, allocations: 0.9701 MB / 1.424 GB, free: 12.92 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.447, allocations: 10.7 MB / 1.434 GB, free: 2.207 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.447, allocations: 0 / 1.434 GB, free: 2.207 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/1.449, allocations: 1.532 MB / 1.436 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.451, allocations: 356.7 kB / 1.436 GB, free: 340 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/1.458, allocations: 5.698 MB / 1.442 GB, free: 10.59 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.459, allocations: 1.781 MB / 1.443 GB, free: 8.777 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001128/1.46, allocations: 386.9 kB / 1.444 GB, free: 8.395 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/1.461, allocations: 151.4 kB / 1.444 GB, free: 8.246 MB / 1.107 GB Notification: Performance of SimCode: time 1.263e-06/1.461, allocations: 0 / 1.444 GB, free: 8.246 MB / 1.107 GB Notification: Performance of Templates: time 0.05928/1.52, allocations: 32.77 MB / 1.476 GB, free: 7.652 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches