Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001132/0.001132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001156/0.001156, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.27 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009278/0.3776, allocations: 6.949 MB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.5498, allocations: 153.4 MB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.5515, allocations: 23.88 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.5568, allocations: 1.662 MB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002993/0.5598, allocations: 0.7851 MB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.5626, allocations: 0.9291 MB / 1.228 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004443/0.5671, allocations: 3.661 MB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.5686, allocations: 0.9174 MB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.5707, allocations: 1.234 MB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.5727, allocations: 1.082 MB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006421/0.5733, allocations: 200 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.5773, allocations: 2.212 MB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.5786, allocations: 1.369 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.5804, allocations: 1.03 MB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00688/0.5873, allocations: 3.954 MB / 1.243 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5873, allocations: 3.938 kB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5873, allocations: 3.938 kB / 1.243 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001162/0.5874, allocations: 3.938 kB / 1.243 GB, free: 6.68 MB / 0.9981 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.006453/0.5939, allocations: 2.598 MB / 1.245 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5939, allocations: 15.97 kB / 1.245 GB, free: 4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5951, allocations: 266.2 kB / 1.246 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.5987, allocations: 3.005 MB / 1.249 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.459e-05/0.5988, allocations: 110.4 kB / 1.249 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.5991, allocations: 152 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.536/1.135, allocations: 1.535 MB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.135, allocations: 0 / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.135, allocations: 52.31 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/1.135, allocations: 29.81 kB / 1.25 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/1.138, allocations: 1.611 MB / 1.252 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007823/1.146, allocations: 5.769 MB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/1.148, allocations: 1.438 MB / 1.259 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009551/1.149, allocations: 0.8834 MB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/1.149, allocations: 35.55 kB / 1.26 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/1.15, allocations: 0.9593 MB / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/1.15, allocations: 0 / 1.261 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.004277/1.154, allocations: 2.667 MB / 1.264 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/1.155, allocations: 329.5 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005579/1.16, allocations: 4.379 MB / 1.268 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.16, allocations: 60.45 kB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/1.161, allocations: 0.6917 MB / 1.269 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.161, allocations: 342.7 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009835/1.162, allocations: 1.082 MB / 1.27 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/1.162, allocations: 305.4 kB / 1.271 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006343/1.169, allocations: 7.038 MB / 1.277 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006674/1.175, allocations: 7.305 MB / 1.285 GB, free: 173 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006822/1.182, allocations: 8.999 MB / 1.293 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.182, allocations: 0 / 1.293 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01182/1.194, allocations: 15.87 MB / 1.309 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/1.194, allocations: 146.4 kB / 1.309 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.194, allocations: 0.6562 kB / 1.309 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.194, allocations: 8 kB / 1.309 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.195, allocations: 326.2 kB / 1.309 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/1.195, allocations: 8.797 kB / 1.309 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.197, allocations: 201.5 kB / 1.31 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.197, allocations: 78.36 kB / 1.31 GB, free: 151.2 MB / 0.9981 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.0009414/1.198, allocations: 0.8388 MB / 1.31 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/1.198, allocations: 154.5 kB / 1.311 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003093/1.201, allocations: 2.381 MB / 1.313 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.201, allocations: 12 kB / 1.313 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.201, allocations: 0 / 1.313 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.201, allocations: 3.984 kB / 1.313 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/1.202, allocations: 1.355 MB / 1.314 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.202, allocations: 0.875 kB / 1.314 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/1.203, allocations: 163.7 kB / 1.314 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/1.203, allocations: 4 kB / 1.314 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/1.203, allocations: 43.97 kB / 1.314 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.203, allocations: 0 / 1.314 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.203, allocations: 4 kB / 1.314 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/1.206, allocations: 2.237 MB / 1.317 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.206, allocations: 414 kB / 1.317 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.206, allocations: 24 kB / 1.317 GB, free: 143.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/1.207, allocations: 79.91 kB / 1.317 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.207, allocations: 90.89 kB / 1.317 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/1.207, allocations: 55.8 kB / 1.317 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001727/1.209, allocations: 2.799 MB / 1.32 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.209, allocations: 4 kB / 1.32 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001728/1.211, allocations: 1.072 MB / 1.321 GB, free: 139.9 MB / 0.9981 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.001943/1.213, allocations: 0.9468 MB / 1.322 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007931/1.221, allocations: 11.15 MB / 1.333 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.221, allocations: 0 / 1.333 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.222, allocations: 1.528 MB / 1.334 GB, free: 126.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/1.223, allocations: 349.8 kB / 1.335 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/1.229, allocations: 6.462 MB / 1.341 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/1.23, allocations: 1.784 MB / 1.343 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009481/1.231, allocations: 389.4 kB / 1.343 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.231, allocations: 147.4 kB / 1.343 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.231, allocations: 0 / 1.343 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0451/1.277, allocations: 32.33 MB / 1.375 GB, free: 85.29 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches