Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.001738/0.001738, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.529/2.529, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.88 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.6921, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002997/0.6951, allocations: 1.908 MB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003979/0.6991, allocations: 3.446 MB / 1.214 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.6993, allocations: 4 kB / 1.214 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.6996, allocations: 55.61 kB / 1.214 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005174/0.7001, allocations: 127.3 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.7003, allocations: 23.91 kB / 1.214 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.7006, allocations: 179.2 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7008, allocations: 21.69 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.701, allocations: 83.62 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.7012, allocations: 83.61 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.7013, allocations: 8 kB / 1.214 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.7014, allocations: 27.98 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.7015, allocations: 43.78 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.7017, allocations: 75.53 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.702, allocations: 157.2 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.702, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.702, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.702, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001036/0.7031, allocations: 0.5062 MB / 1.215 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7031, allocations: 8.031 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.7032, allocations: 20.66 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.7037, allocations: 238.8 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.7037, allocations: 8.312 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.7037, allocations: 8.375 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/0.7042, allocations: 141.6 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.7042, allocations: 0 / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.7043, allocations: 3.984 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/0.7043, allocations: 11.98 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.7049, allocations: 139.8 kB / 1.216 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008432/0.7058, allocations: 440.5 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.7064, allocations: 166.5 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.7068, allocations: 104.7 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.7068, allocations: 4 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.7069, allocations: 34.56 kB / 1.216 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.315e-06/0.7069, allocations: 4 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001224/0.7081, allocations: 273.4 kB / 1.217 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.7082, allocations: 55.41 kB / 1.217 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.7084, allocations: 213 kB / 1.217 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.7085, allocations: 25.7 kB / 1.217 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.7085, allocations: 116.1 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.7086, allocations: 47.34 kB / 1.217 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.7087, allocations: 33.7 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.7088, allocations: 334.8 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.709, allocations: 72.12 kB / 1.217 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.7092, allocations: 75.94 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.7097, allocations: 156.1 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.7097, allocations: 4 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005084/0.7102, allocations: 201.4 kB / 1.218 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7102, allocations: 4 kB / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7102, allocations: 0 / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.7102, allocations: 0 / 1.218 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.7105, allocations: 43.89 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.7105, allocations: 4 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.7107, allocations: 27.77 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.7107, allocations: 0 / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001023/0.7108, allocations: 133.8 kB / 1.218 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.7108, allocations: 15.81 kB / 1.218 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.7109, allocations: 25.83 kB / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7109, allocations: 0 / 1.218 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7109, allocations: 4 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.711, allocations: 116.8 kB / 1.218 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.711, allocations: 7.938 kB / 1.218 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.7112, allocations: 11.98 kB / 1.218 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.7113, allocations: 11.98 kB / 1.218 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006819/0.712, allocations: 296.8 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005669/0.7126, allocations: 378.5 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002389/0.7128, allocations: 91.48 kB / 1.219 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000116/0.7129, allocations: 160.4 kB / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of Backend: time 2.11e-07/0.7129, allocations: 0 / 1.219 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006199/0.7136, allocations: 182.2 kB / 1.219 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008039/0.7144, allocations: 0.8089 MB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.005034/0.7194, allocations: 2.311 MB / 1.222 GB, free: 15.11 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches