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.0008061/0.0008058, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006691/0.006691, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 443.3 MB / 0.7175 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 9.531 kB / 0.8796 GB, free: 41.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3739, allocations: 155.2 MB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002338/0.3763, allocations: 1.62 MB / 1.033 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004605/0.3809, allocations: 3.378 MB / 1.036 GB, free: 15.42 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3811, allocations: 4 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3814, allocations: 43.75 kB / 1.036 GB, free: 15.37 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005259/0.3819, allocations: 111.4 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.3821, allocations: 27.91 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.3824, allocations: 183.2 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3825, allocations: 21.67 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3828, allocations: 71.7 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.383, allocations: 83.55 kB / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.383, allocations: 8 kB / 1.037 GB, free: 14.87 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.3832, allocations: 19.98 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.3833, allocations: 31.84 kB / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.3834, allocations: 101.2 kB / 1.037 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3837, allocations: 147.3 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3837, allocations: 8 kB / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3837, allocations: 0 / 1.037 GB, free: 14.56 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3837, allocations: 4 kB / 1.037 GB, free: 14.56 MB / 0.795 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.001051/0.3848, allocations: 490.6 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3848, allocations: 12.03 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.3849, allocations: 20.66 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/0.3854, allocations: 250.8 kB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3855, allocations: 4.312 kB / 1.038 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3855, allocations: 8.359 kB / 1.038 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.386, allocations: 159.2 kB / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.386, allocations: 0 / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3861, allocations: 0 / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.3861, allocations: 8 kB / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.3868, allocations: 151.9 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007533/0.3876, allocations: 456.5 kB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.388, allocations: 170.5 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.3883, allocations: 104.8 kB / 1.039 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3883, allocations: 0 / 1.039 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.219e-05/0.3884, allocations: 34.56 kB / 1.039 GB, free: 12.57 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3884, allocations: 3.938 kB / 1.039 GB, free: 12.56 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0008653/0.3893, allocations: 309.7 kB / 1.039 GB, free: 12.25 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3893, allocations: 55.41 kB / 1.039 GB, free: 12.19 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3896, allocations: 209 kB / 1.039 GB, free: 11.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3896, allocations: 29.7 kB / 1.039 GB, free: 11.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.728e-05/0.3897, allocations: 128 kB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.3897, allocations: 43.36 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3898, allocations: 17.72 kB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3899, allocations: 334.8 kB / 1.04 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3902, allocations: 83.88 kB / 1.04 GB, free: 11.33 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.3904, allocations: 75.94 kB / 1.04 GB, free: 11.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.3908, allocations: 171.8 kB / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3909, allocations: 0 / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005615/0.3914, allocations: 233.3 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3915, allocations: 8 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.3915, allocations: 0 / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3915, allocations: 0 / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.3917, allocations: 35.97 kB / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3917, allocations: 0 / 1.04 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3919, allocations: 19.97 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3919, allocations: 12 kB / 1.04 GB, free: 10.78 MB / 0.795 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.0001288/0.3921, allocations: 135.2 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.3921, allocations: 19.72 kB / 1.04 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3922, allocations: 25.84 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3922, allocations: 0 / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3922, allocations: 0 / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3922, allocations: 3.984 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.3925, allocations: 261.4 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3925, allocations: 4 kB / 1.041 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3927, allocations: 43.95 kB / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3927, allocations: 0 / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3928, allocations: 4 kB / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3928, allocations: 0 / 1.041 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3928, allocations: 4 kB / 1.041 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.3934, allocations: 323 kB / 1.041 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3935, allocations: 116.9 kB / 1.041 GB, free: 9.77 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3935, allocations: 0 / 1.041 GB, free: 9.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.3937, allocations: 15.98 kB / 1.041 GB, free: 9.754 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.3938, allocations: 11.98 kB / 1.041 GB, free: 9.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3938, allocations: 7.984 kB / 1.041 GB, free: 9.734 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000124/0.3939, allocations: 152.5 kB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3939, allocations: 0 / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002801/0.3942, allocations: 47.81 kB / 1.041 GB, free: 9.539 MB / 0.795 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.0001695/0.3944, allocations: 111.2 kB / 1.042 GB, free: 9.418 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3949, allocations: 186.4 kB / 1.042 GB, free: 9.238 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3949, allocations: 0 / 1.042 GB, free: 9.238 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3952, allocations: 103.9 kB / 1.042 GB, free: 9.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.3956, allocations: 28.64 kB / 1.042 GB, free: 9.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.3964, allocations: 495.4 kB / 1.042 GB, free: 8.602 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3968, allocations: 0.7355 MB / 1.043 GB, free: 7.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.3969, allocations: 48.59 kB / 1.043 GB, free: 7.793 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.397, allocations: 19.42 kB / 1.043 GB, free: 7.773 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.397, allocations: 0 / 1.043 GB, free: 7.773 MB / 0.795 GB Notification: Performance of Templates: time 0.004723/0.4017, allocations: 1.524 MB / 1.045 GB, free: 6.266 MB / 0.795 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/jenkins/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