Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00167/0.001671, allocations: 115.6 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 62.75 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008258/0.3451, allocations: 5.774 MB / 0.9568 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7894/1.135, allocations: 155.4 MB / 1.109 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/1.136, allocations: 26.19 kB / 1.109 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00619/1.142, allocations: 1.781 MB / 1.11 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/1.145, allocations: 0.7727 MB / 1.111 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/1.148, allocations: 1.024 MB / 1.112 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00515/1.153, allocations: 3.46 MB / 1.115 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/1.155, allocations: 0.9546 MB / 1.116 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/1.158, allocations: 1.166 MB / 1.118 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/1.16, allocations: 1.028 MB / 1.119 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004244/1.16, allocations: 200.8 kB / 1.119 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00495/1.165, allocations: 2.256 MB / 1.121 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001619/1.167, allocations: 1.36 MB / 1.122 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/1.168, allocations: 0.9966 MB / 1.123 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009978/1.178, allocations: 3.952 MB / 1.127 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/1.178, allocations: 0 / 1.127 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/1.178, allocations: 1.25 kB / 1.127 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.31e-05/1.178, allocations: 0 / 1.127 GB, free: 2.754 MB / 0.8575 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.005885/1.184, allocations: 2.577 MB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.184, allocations: 8.812 kB / 1.13 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/1.185, allocations: 266.3 kB / 1.13 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00441/1.19, allocations: 3.013 MB / 1.133 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.19, allocations: 111.8 kB / 1.133 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/1.19, allocations: 151.4 kB / 1.133 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/1.193, allocations: 1.544 MB / 1.135 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.193, allocations: 0 / 1.135 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.193, allocations: 61.8 kB / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.193, allocations: 29.94 kB / 1.135 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/1.196, allocations: 1.609 MB / 1.136 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009668/1.205, allocations: 5.326 MB / 1.141 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/1.208, allocations: 1.444 MB / 1.143 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/1.209, allocations: 0.8865 MB / 1.144 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.735e-05/1.209, allocations: 35.81 kB / 1.144 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/1.211, allocations: 0.9558 MB / 1.145 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 4.889e-06/1.211, allocations: 3.984 kB / 1.145 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.004912/1.216, allocations: 2.671 MB / 1.147 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002508/1.216, allocations: 325.9 kB / 1.148 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006635/1.222, allocations: 4.382 MB / 1.152 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0008556/1.223, allocations: 59.77 kB / 1.152 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009903/1.224, allocations: 0.6923 MB / 1.153 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/1.225, allocations: 346.4 kB / 1.153 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001435/1.226, allocations: 1.082 MB / 1.154 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.227, allocations: 301.1 kB / 1.154 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006643/1.233, allocations: 7.037 MB / 1.161 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008945/1.242, allocations: 7.303 MB / 1.168 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009901/1.252, allocations: 9.003 MB / 1.177 GB, free: 364 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/1.252, allocations: 3.938 kB / 1.177 GB, free: 360 kB / 0.8731 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.0166/1.269, allocations: 15.85 MB / 1.193 GB, free: 500 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/1.269, allocations: 149.7 kB / 1.193 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.269, allocations: 8 kB / 1.193 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.269, allocations: 8 kB / 1.193 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.271, allocations: 319.5 kB / 1.193 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/1.271, allocations: 5.75 kB / 1.193 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.272, allocations: 194.7 kB / 1.193 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/1.273, allocations: 83.33 kB / 1.193 GB, free: 15.73 MB / 0.9044 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.001526/1.274, allocations: 0.8468 MB / 1.194 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/1.275, allocations: 150.1 kB / 1.194 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/1.279, allocations: 2.37 MB / 1.197 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.279, allocations: 8 kB / 1.197 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.279, allocations: 8 kB / 1.197 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/1.279, allocations: 11.95 kB / 1.197 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/1.281, allocations: 1.358 MB / 1.198 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.281, allocations: 7.922 kB / 1.198 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/1.281, allocations: 155.8 kB / 1.198 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/1.281, allocations: 4 kB / 1.198 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/1.281, allocations: 35.97 kB / 1.198 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/1.281, allocations: 4 kB / 1.198 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.281, allocations: 3.938 kB / 1.198 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/1.285, allocations: 2.251 MB / 1.2 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/1.286, allocations: 402.8 kB / 1.201 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/1.286, allocations: 31.91 kB / 1.201 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007928/1.287, allocations: 75.92 kB / 1.201 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.287, allocations: 80.89 kB / 1.201 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.287, allocations: 51.97 kB / 1.201 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002932/1.29, allocations: 2.799 MB / 1.204 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.29, allocations: 0 / 1.204 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003425/1.293, allocations: 1.052 MB / 1.205 GB, free: 3.941 MB / 0.9044 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.002908/1.296, allocations: 0.9524 MB / 1.206 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.307, allocations: 10.7 MB / 1.216 GB, free: 8.488 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.307, allocations: 0 / 1.216 GB, free: 8.488 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.309, allocations: 1.532 MB / 1.218 GB, free: 6.945 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.311, allocations: 322.8 kB / 1.218 GB, free: 6.648 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/1.319, allocations: 5.582 MB / 1.223 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.321, allocations: 1.782 MB / 1.225 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001476/1.322, allocations: 386.7 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004108/1.323, allocations: 147.4 kB / 1.226 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of SimCode: time 1.663e-06/1.323, allocations: 0 / 1.226 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.05992/1.383, allocations: 31.69 MB / 1.257 GB, free: 15.18 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches