Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 91.3 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.01026/0.01026, allocations: 171 kB / 16.26 MB, free: 6.613 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 8 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5958/0.5962, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001847/0.598, allocations: 1.617 MB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003378/0.6014, allocations: 3.376 MB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.6015, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.6017, allocations: 43.81 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003335/0.6021, allocations: 119.3 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.732e-05/0.6021, allocations: 23.95 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.6023, allocations: 179.2 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.6024, allocations: 25.62 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.6026, allocations: 71.69 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.6027, allocations: 75.62 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.6027, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.152e-05/0.6028, allocations: 27.92 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.6029, allocations: 31.84 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.469e-05/0.603, allocations: 101.2 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.6031, allocations: 143.4 kB / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6032, allocations: 0 / 1.029 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6032, allocations: 3.938 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.6032, allocations: 4 kB / 1.029 GB, free: 9.938 MB / 0.7794 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.0007352/0.6039, allocations: 498.6 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.604, allocations: 8.031 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.604, allocations: 50.66 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.604, allocations: 20.66 kB / 1.029 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.6044, allocations: 243 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.6044, allocations: 8.375 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.6044, allocations: 384 / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.6047, allocations: 147.1 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6048, allocations: 3.938 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.6048, allocations: 8 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.6048, allocations: 11.98 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.6053, allocations: 155.9 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.6059, allocations: 444.5 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.6064, allocations: 178.3 kB / 1.031 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.6066, allocations: 112.8 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6067, allocations: 4 kB / 1.031 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.6067, allocations: 30.56 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.6067, allocations: 0 / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008483/0.6076, allocations: 309.7 kB / 1.031 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.6076, allocations: 51.41 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.6078, allocations: 205 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.6078, allocations: 41.58 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6079, allocations: 116 kB / 1.031 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.608, allocations: 51.34 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.608, allocations: 21.7 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.6081, allocations: 330.8 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.6084, allocations: 75.94 kB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.6086, allocations: 83.94 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.6091, allocations: 176.2 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6091, allocations: 0 / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005579/0.6097, allocations: 221.4 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6097, allocations: 7.984 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.6097, allocations: 0 / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.6097, allocations: 4 kB / 1.032 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.61, allocations: 43.91 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.61, allocations: 0 / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.6101, allocations: 19.92 kB / 1.032 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.6102, allocations: 11.92 kB / 1.032 GB, free: 6.09 MB / 0.7794 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.0001092/0.6103, allocations: 130.4 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.6103, allocations: 19.72 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.6104, allocations: 25.83 kB / 1.033 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6104, allocations: 4 kB / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6104, allocations: 0 / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.6104, allocations: 0 / 1.033 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.6107, allocations: 253.5 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6107, allocations: 0 / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.6109, allocations: 39.91 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6109, allocations: 4 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6109, allocations: 7.984 kB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6109, allocations: 0 / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.611, allocations: 0 / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.6116, allocations: 331.1 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.6116, allocations: 104.8 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.6117, allocations: 11.98 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.6119, allocations: 19.98 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.6119, allocations: 23.86 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.612, allocations: 3.984 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001219/0.6121, allocations: 164.3 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6121, allocations: 0 / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002763/0.6124, allocations: 36 kB / 1.033 GB, free: 4.848 MB / 0.7794 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.0008662/0.6132, allocations: 0.8616 MB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005322/0.6138, allocations: 183.8 kB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6138, allocations: 4 kB / 1.034 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.6141, allocations: 103.7 kB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.6144, allocations: 32.59 kB / 1.035 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.6175, allocations: 2.36 MB / 1.037 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.6177, allocations: 0.7277 MB / 1.038 GB, free: 452 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.6179, allocations: 52.58 kB / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.345e-05/0.618, allocations: 47.42 kB / 1.038 GB, free: 356 kB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.618, allocations: 4 kB / 1.038 GB, free: 352 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.6301, allocations: 3.368 MB / 1.041 GB, free: 13.16 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.6303, allocations: 222.8 kB / 1.041 GB, free: 12.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.334, allocations: 4.062 kB / 1.041 GB, free: 12.9 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches