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 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_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.006201/0.006201, allocations: 101.1 kB / 15.73 MB, free: 6.055 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.001659/0.001659, allocations: 189.5 kB / 16.67 MB, free: 5.973 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.41/2.41, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 64.19 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.254, allocations: 162.3 MB / 1.242 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002625/0.2566, allocations: 1.872 MB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.2603, allocations: 3.532 MB / 1.247 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.2603, allocations: 4 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005949/0.261, allocations: 167.6 kB / 1.247 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2611, allocations: 75.47 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.125e-05/0.2612, allocations: 31.95 kB / 1.247 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.2616, allocations: 251.2 kB / 1.248 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.2617, allocations: 33.47 kB / 1.248 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.2618, allocations: 63.78 kB / 1.248 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.2619, allocations: 79.61 kB / 1.248 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2619, allocations: 8 kB / 1.248 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.159e-05/0.262, allocations: 27.98 kB / 1.248 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.2621, allocations: 55.8 kB / 1.248 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.2622, allocations: 91.42 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.2624, allocations: 187.1 kB / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.2624, allocations: 0 / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2624, allocations: 0 / 1.248 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2624, allocations: 0 / 1.248 GB, free: 2.449 MB / 0.9669 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.0007475/0.2632, allocations: 0.5215 MB / 1.249 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2632, allocations: 12.03 kB / 1.249 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.2633, allocations: 42.75 kB / 1.249 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.2633, allocations: 20.8 kB / 1.249 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.2636, allocations: 259.7 kB / 1.249 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.2637, allocations: 4.375 kB / 1.249 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.2637, allocations: 4.375 kB / 1.249 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.264, allocations: 139.5 kB / 1.249 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.264, allocations: 4 kB / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.264, allocations: 0 / 1.249 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.2641, allocations: 8 kB / 1.249 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.2645, allocations: 135.8 kB / 1.249 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.2651, allocations: 452.5 kB / 1.25 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.2655, allocations: 158.5 kB / 1.25 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2657, allocations: 108.8 kB / 1.25 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.2657, allocations: 0 / 1.25 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2658, allocations: 42.56 kB / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.2658, allocations: 0 / 1.25 GB, free: 404 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000761/0.2666, allocations: 285.5 kB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2666, allocations: 55.41 kB / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2668, allocations: 234.7 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2668, allocations: 29.7 kB / 1.251 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.2669, allocations: 132.1 kB / 1.251 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.267, allocations: 51.55 kB / 1.251 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.267, allocations: 29.7 kB / 1.251 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2672, allocations: 342.8 kB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2674, allocations: 67.94 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.2676, allocations: 75.06 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.268, allocations: 160.7 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.268, allocations: 0 / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000497/0.2685, allocations: 213.4 kB / 1.252 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2686, allocations: 7.984 kB / 1.252 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2686, allocations: 0 / 1.252 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2686, allocations: 0 / 1.252 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2688, allocations: 35.91 kB / 1.252 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2688, allocations: 4 kB / 1.252 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2689, allocations: 19.92 kB / 1.252 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.269, allocations: 7.922 kB / 1.252 GB, free: 14.62 MB / 0.9825 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.0001161/0.2691, allocations: 145 kB / 1.252 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.2691, allocations: 19.86 kB / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.2692, allocations: 33.83 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2692, allocations: 0 / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2692, allocations: 0 / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2692, allocations: 4 kB / 1.252 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.2695, allocations: 261.4 kB / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2695, allocations: 0 / 1.252 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2697, allocations: 35.97 kB / 1.252 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2697, allocations: 0 / 1.252 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2697, allocations: 8 kB / 1.252 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2697, allocations: 3.984 kB / 1.252 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2697, allocations: 3.938 kB / 1.252 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.2703, allocations: 307.2 kB / 1.252 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.2704, allocations: 116.9 kB / 1.253 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.2704, allocations: 3.938 kB / 1.253 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.2706, allocations: 15.97 kB / 1.253 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.2706, allocations: 11.98 kB / 1.253 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2706, allocations: 4 kB / 1.253 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001405/0.2708, allocations: 177.9 kB / 1.253 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2708, allocations: 4 kB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002448/0.271, allocations: 40 kB / 1.253 GB, free: 13.36 MB / 0.9825 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.0008271/0.2719, allocations: 0.8566 MB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.2723, allocations: 163.8 kB / 1.254 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2724, allocations: 0 / 1.254 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.2726, allocations: 99.92 kB / 1.254 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.273, allocations: 40.53 kB / 1.254 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.2758, allocations: 2.336 MB / 1.256 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.2762, allocations: 0.7473 MB / 1.257 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000142/0.2763, allocations: 56.95 kB / 1.257 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.451e-05/0.2764, allocations: 59.41 kB / 1.257 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.2764, allocations: 0 / 1.257 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.279/2.555, allocations: 4.557 MB / 1.262 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/18.22, allocations: 10.16 kB / 1.262 GB, free: 4.5 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > 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