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: "" <> 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.001326/0.001326, allocations: 90.52 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.00744/0.00744, allocations: 171.1 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.174/1.174, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.312/2.312, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 12.62 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2205, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001729/0.2222, allocations: 1.631 MB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00317/0.2254, allocations: 3.369 MB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.2255, allocations: 3.938 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.2257, allocations: 47.75 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.226, allocations: 119.4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.53e-05/0.2261, allocations: 19.98 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.2263, allocations: 183.1 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.2264, allocations: 25.69 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2265, allocations: 71.69 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2267, allocations: 75.62 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2267, allocations: 7.938 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.2268, allocations: 27.97 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2268, allocations: 31.84 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-05/0.2269, allocations: 97.19 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.2271, allocations: 163.3 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2271, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2271, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2271, allocations: 0 / 1.064 GB, free: 14.97 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.0006796/0.2278, allocations: 494.6 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2278, allocations: 15.97 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.2279, allocations: 34.75 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.2279, allocations: 20.66 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.2282, allocations: 246.8 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.2282, allocations: 384 / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2282, allocations: 12.31 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.2285, allocations: 151.5 kB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2286, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2286, allocations: 4 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.2286, allocations: 8 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.229, allocations: 151.9 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.2296, allocations: 448.5 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.23, allocations: 166.5 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.2302, allocations: 120.8 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.2302, allocations: 256 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2303, allocations: 34.56 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 8.62e-07/0.2303, allocations: 3.938 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0007391/0.231, allocations: 309.3 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.2311, allocations: 59.41 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2312, allocations: 205 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2312, allocations: 29.7 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.2313, allocations: 128 kB / 1.067 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.2314, allocations: 39.36 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.2314, allocations: 17.72 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.2315, allocations: 330.8 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.2317, allocations: 91.86 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2319, allocations: 78.81 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.2323, allocations: 180.8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2323, allocations: 0 / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004732/0.2328, allocations: 221.3 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.2328, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.2328, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.2329, allocations: 0 / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.2331, allocations: 39.97 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2331, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.2332, allocations: 27.88 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.2333, allocations: 11.92 kB / 1.068 GB, free: 11.13 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 8.731e-05/0.2333, allocations: 129.8 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.2334, allocations: 19.81 kB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.045e-05/0.2334, allocations: 25.84 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2335, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.2335, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2335, allocations: 3.984 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.2337, allocations: 265.3 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2337, allocations: 4 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2339, allocations: 39.95 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.2339, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2339, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.2339, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2339, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.2345, allocations: 330.2 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.2345, allocations: 108.9 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2346, allocations: 7.938 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2347, allocations: 15.98 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2348, allocations: 7.984 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2348, allocations: 15.98 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001045/0.2349, allocations: 156.4 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2349, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.2352, allocations: 35.94 kB / 1.069 GB, free: 9.883 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.0007487/0.2359, allocations: 0.8644 MB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.2364, allocations: 183.9 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2364, allocations: 4 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.2366, allocations: 95.88 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.237, allocations: 36.47 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.2396, allocations: 2.342 MB / 1.073 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.2398, allocations: 0.7278 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.24, allocations: 48.59 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.24, allocations: 52.75 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2401, allocations: 3.938 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.635/1.875, allocations: 3.364 MB / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.875, allocations: 229.3 kB / 1.077 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/3.521, allocations: 0 / 1.077 GB, free: 1.973 MB / 0.8262 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=50 --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