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.001099/0.001099, allocations: 117.9 kB / 16.42 MB, free: 6.5 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.001002/0.001002, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.418/2.418, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7231, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008081/0.7313, allocations: 7.026 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.8919, allocations: 155.6 MB / 1.326 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.893, allocations: 23.88 kB / 1.326 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004424/0.8975, allocations: 1.819 MB / 1.328 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002489/0.9, allocations: 0.8972 MB / 1.329 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.9023, allocations: 1.025 MB / 1.33 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.906, allocations: 3.677 MB / 1.333 GB, free: 9.191 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.9074, allocations: 0.9174 MB / 1.334 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.9091, allocations: 1.196 MB / 1.335 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.9108, allocations: 1.066 MB / 1.337 GB, free: 5.957 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004693/0.9113, allocations: 200 kB / 1.337 GB, free: 5.762 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003756/0.915, allocations: 2.247 MB / 1.339 GB, free: 3.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.9163, allocations: 1.365 MB / 1.34 GB, free: 2.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.9173, allocations: 1.026 MB / 1.341 GB, free: 1.113 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.922, allocations: 4.008 MB / 1.345 GB, free: 13.09 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.922, allocations: 4 kB / 1.345 GB, free: 13.09 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.922, allocations: 0 / 1.345 GB, free: 13.09 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.922, allocations: 0 / 1.345 GB, free: 13.09 MB / 1.076 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.004053/0.9261, allocations: 2.605 MB / 1.348 GB, free: 10.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.9261, allocations: 8.922 kB / 1.348 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.9269, allocations: 266.2 kB / 1.348 GB, free: 10.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.9303, allocations: 3.02 MB / 1.351 GB, free: 7.074 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.9304, allocations: 114.3 kB / 1.351 GB, free: 6.961 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.9306, allocations: 152 kB / 1.351 GB, free: 6.812 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.933, allocations: 1.538 MB / 1.353 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.933, allocations: 0 / 1.353 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.9332, allocations: 56 kB / 1.353 GB, free: 5.16 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.9332, allocations: 28 kB / 1.353 GB, free: 5.133 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/0.9356, allocations: 1.617 MB / 1.354 GB, free: 3.508 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007865/0.9435, allocations: 5.722 MB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.9456, allocations: 1.443 MB / 1.361 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.9467, allocations: 0.8901 MB / 1.362 GB, free: 11.27 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.9468, allocations: 33.19 kB / 1.362 GB, free: 11.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.9482, allocations: 0.9499 MB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.9482, allocations: 0 / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=104): time 0.004123/0.9523, allocations: 2.668 MB / 1.366 GB, free: 7.59 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.9525, allocations: 336.2 kB / 1.366 GB, free: 7.211 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004609/0.9572, allocations: 4.381 MB / 1.37 GB, free: 2.816 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.9573, allocations: 61.69 kB / 1.37 GB, free: 2.75 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/0.9579, allocations: 0.6852 MB / 1.371 GB, free: 2.055 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.9582, allocations: 347 kB / 1.371 GB, free: 1.711 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009644/0.9592, allocations: 1.071 MB / 1.372 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.9593, allocations: 313.1 kB / 1.373 GB, free: 332 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006229/0.9655, allocations: 7.039 MB / 1.38 GB, free: 9.281 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006567/0.9721, allocations: 7.301 MB / 1.387 GB, free: 1.969 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008383/0.9805, allocations: 9.003 MB / 1.396 GB, free: 8.922 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.9805, allocations: 3.938 kB / 1.396 GB, free: 8.918 MB / 1.123 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01486/0.9954, allocations: 15.86 MB / 1.411 GB, free: 9.004 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.9956, allocations: 149.6 kB / 1.411 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.9956, allocations: 4.062 kB / 1.411 GB, free: 8.848 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.9956, allocations: 8 kB / 1.411 GB, free: 8.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.9969, allocations: 323.5 kB / 1.411 GB, free: 8.523 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.9969, allocations: 7.938 kB / 1.411 GB, free: 8.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.9981, allocations: 196.8 kB / 1.412 GB, free: 8.324 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.9983, allocations: 87.94 kB / 1.412 GB, free: 8.238 MB / 1.139 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.001105/0.9994, allocations: 0.8448 MB / 1.413 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.9997, allocations: 150.1 kB / 1.413 GB, free: 7.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/1.003, allocations: 2.372 MB / 1.415 GB, free: 4.84 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.003, allocations: 7.922 kB / 1.415 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.003, allocations: 0 / 1.415 GB, free: 4.832 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006533/1.004, allocations: 410.8 kB / 1.415 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/1.004, allocations: 24 kB / 1.415 GB, free: 4.387 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/1.005, allocations: 71.92 kB / 1.416 GB, free: 4.316 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.005, allocations: 84.83 kB / 1.416 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003515/1.009, allocations: 2.45 MB / 1.418 GB, free: 1.758 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003278/1.012, allocations: 2.373 MB / 1.42 GB, free: 15.36 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001343/1.014, allocations: 1.203 MB / 1.422 GB, free: 14.15 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002542/1.016, allocations: 2.795 MB / 1.424 GB, free: 11.36 MB / 1.154 GB Notification: Performance of Backend: time 3.51e-07/1.016, allocations: 0 / 1.424 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.028, allocations: 10.94 MB / 1.435 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of SimCode: time 0.007074/1.035, allocations: 5.718 MB / 1.441 GB, free: 10.84 MB / 1.17 GB Notification: Performance of Templates: time 0.05783/1.093, allocations: 34.56 MB / 1.474 GB, free: 8.406 MB / 1.201 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/jenkins1/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