Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 108 kB / 15.61 MB, free: 152 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.001773/0.001773, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.17 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00378/0.3504, allocations: 2.162 MB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005187/0.3556, allocations: 4.093 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3558, allocations: 3.938 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.3567, allocations: 187 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.357, allocations: 75.33 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.3578, allocations: 287.2 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006853/0.3585, allocations: 434.7 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3586, allocations: 56.7 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.3589, allocations: 135.5 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3591, allocations: 159.3 kB / 1.076 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.3592, allocations: 20 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.3598, allocations: 315.6 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.3599, allocations: 111.7 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.3602, allocations: 170.9 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008387/0.361, allocations: 0.5647 MB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.361, allocations: 4 kB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.361, allocations: 0 / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.336e-05/0.3611, allocations: 0 / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001764/0.3628, allocations: 0.7972 MB / 1.078 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3629, allocations: 8.031 kB / 1.078 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.3639, allocations: 184.2 kB / 1.078 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.3649, allocations: 382.3 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3649, allocations: 8.562 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.3649, allocations: 15.94 kB / 1.078 GB, free: 192 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.3657, allocations: 250.9 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3657, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.3657, allocations: 4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3658, allocations: 4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.3669, allocations: 331.6 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.3686, allocations: 0.6877 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.3692, allocations: 226.4 kB / 1.08 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005835/0.3698, allocations: 181 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.3699, allocations: 23.97 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3699, allocations: 38.5 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.3699, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001878/0.3718, allocations: 0.5555 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.3719, allocations: 55.41 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3724, allocations: 433.8 kB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3724, allocations: 33.64 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3726, allocations: 188.5 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.3726, allocations: 47.34 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3727, allocations: 57.67 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3729, allocations: 354.7 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.3736, allocations: 284 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.3743, allocations: 300.3 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.3755, allocations: 0.5098 MB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3756, allocations: 0 / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001529/0.3771, allocations: 0.7186 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.3772, allocations: 45.69 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3772, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3772, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.3777, allocations: 67.86 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3777, allocations: 0 / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.3781, allocations: 63.66 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.3782, allocations: 8 kB / 1.083 GB, free: 10.63 MB / 0.8419 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 (18): * Single equations (assignments): 17 * Array equations: 0 * 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.000208/0.3784, allocations: 159.3 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.3785, allocations: 39.47 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3799, allocations: 448.2 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.3799, allocations: 7.938 kB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3799, allocations: 0 / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3799, allocations: 3.938 kB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.3804, allocations: 365.3 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3804, allocations: 0 / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.3808, allocations: 63.91 kB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3809, allocations: 0 / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3809, allocations: 11.94 kB / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3809, allocations: 0 / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3809, allocations: 0 / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.3823, allocations: 0.5027 MB / 1.085 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.3824, allocations: 136.5 kB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.008e-05/0.3825, allocations: 4 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.3829, allocations: 39.94 kB / 1.085 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.383, allocations: 11.98 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.383, allocations: 11.92 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003937/0.3834, allocations: 307.1 kB / 1.085 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3834, allocations: 3.938 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004932/0.3839, allocations: 124 kB / 1.086 GB, free: 8.336 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0004025/0.3843, allocations: 179.6 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0016/0.3859, allocations: 0.684 MB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3859, allocations: 0 / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.3865, allocations: 187.8 kB / 1.087 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.3871, allocations: 65.91 kB / 1.087 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3885, allocations: 0.699 MB / 1.087 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.3892, allocations: 0.8022 MB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.3895, allocations: 53.91 kB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3896, allocations: 31.42 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3897, allocations: 0 / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.01095/0.4006, allocations: 5.462 MB / 1.093 GB, free: 164 kB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches