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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0008935/0.0008935, allocations: 99.58 kB / 16.02 MB, free: 76 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.001125/0.001125, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.926/2.926, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 15.16 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002374/0.3204, allocations: 1.627 MB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004434/0.3249, allocations: 3.369 MB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.325, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3253, allocations: 47.75 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.3259, allocations: 115.4 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.326, allocations: 23.98 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.3263, allocations: 183.1 kB / 1.065 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3265, allocations: 29.67 kB / 1.065 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.3267, allocations: 67.7 kB / 1.065 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.3269, allocations: 75.56 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3269, allocations: 4 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.327, allocations: 31.97 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.3271, allocations: 31.84 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3272, allocations: 97.19 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.3274, allocations: 115.7 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3274, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3275, allocations: 0 / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3275, allocations: 3.938 kB / 1.065 GB, free: 15.13 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008827/0.3284, allocations: 496.4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3284, allocations: 15.97 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.3285, allocations: 24.59 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3288, allocations: 242.8 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3289, allocations: 4.375 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.3289, allocations: 4.375 kB / 1.066 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3293, allocations: 149.6 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3293, allocations: 0 / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.3293, allocations: 4 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.3294, allocations: 11.98 kB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.3298, allocations: 151.9 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/0.3306, allocations: 444.5 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.331, allocations: 174.4 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.3314, allocations: 112.8 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3314, allocations: 8 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3314, allocations: 30.56 kB / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.3314, allocations: 0 / 1.067 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0009099/0.3323, allocations: 304.4 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3324, allocations: 59.39 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3326, allocations: 209 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3327, allocations: 29.7 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.3328, allocations: 120 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.3328, allocations: 51.28 kB / 1.068 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.3329, allocations: 17.72 kB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.333, allocations: 334.8 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3332, allocations: 79.94 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.3335, allocations: 75.94 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.334, allocations: 180.7 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.334, allocations: 0 / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005666/0.3346, allocations: 225 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.3346, allocations: 9.656 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3346, allocations: 4 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3346, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.3349, allocations: 43.95 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3349, allocations: 0 / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.3351, allocations: 23.89 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3351, allocations: 4 kB / 1.068 GB, free: 11.34 MB / 0.8262 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.0001465/0.3353, allocations: 129.8 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.3353, allocations: 19.75 kB / 1.069 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.3354, allocations: 25.83 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3354, allocations: 4 kB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3354, allocations: 7.938 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3354, allocations: 4 kB / 1.069 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.3358, allocations: 265.4 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3358, allocations: 0 / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.336, allocations: 35.97 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.336, allocations: 3.984 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.336, allocations: 4 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.336, allocations: 0 / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.336, allocations: 3.984 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/0.3367, allocations: 339 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3368, allocations: 100.9 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3368, allocations: 8 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.337, allocations: 15.97 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3371, allocations: 11.98 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.3371, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001385/0.3372, allocations: 160.5 kB / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3372, allocations: 0 / 1.07 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002776/0.3375, allocations: 35.94 kB / 1.07 GB, free: 10.09 MB / 0.8262 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.0001915/0.3377, allocations: 109.4 kB / 1.07 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.3383, allocations: 187.8 kB / 1.07 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3383, allocations: 0 / 1.07 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.3386, allocations: 103.9 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.339, allocations: 21.59 kB / 1.07 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008949/0.3399, allocations: 0.5206 MB / 1.071 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.3403, allocations: 0.7238 MB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.3403, allocations: 23.42 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3404, allocations: 0 / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.004591/0.345, allocations: 2.198 MB / 1.073 GB, free: 6.164 MB / 0.8262 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