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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005266/0.005266, allocations: 97.97 kB / 15.73 MB, free: 6.004 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.00145/0.00145, allocations: 193.1 kB / 16.67 MB, free: 5.934 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 437.1 MB / 0.7106 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 75.86 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2396, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002696/0.2423, allocations: 1.899 MB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.2459, allocations: 3.451 MB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.246, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.2462, allocations: 51.61 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.2465, allocations: 123.3 kB / 1.172 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.106e-05/0.2466, allocations: 31.94 kB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2468, allocations: 163.2 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.703e-05/0.2469, allocations: 41.58 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.247, allocations: 75.7 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.2472, allocations: 83.55 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.2472, allocations: 8 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.679e-05/0.2473, allocations: 27.98 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.2474, allocations: 39.84 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.266e-05/0.2475, allocations: 83.47 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.2477, allocations: 163.2 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2477, allocations: 4 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2477, allocations: 3.938 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2477, allocations: 0 / 1.172 GB, free: 1.023 MB / 0.92 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.0007448/0.2484, allocations: 0.4944 MB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2485, allocations: 15.97 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2485, allocations: 42.73 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.2486, allocations: 20.8 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2489, allocations: 246.9 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.2489, allocations: 4.375 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2489, allocations: 384 / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.2493, allocations: 145.5 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2493, allocations: 3.984 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2493, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.451e-05/0.2493, allocations: 15.98 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.2497, allocations: 135.7 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.2503, allocations: 436.6 kB / 1.174 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.2507, allocations: 158.5 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.251, allocations: 104.8 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.251, allocations: 7.922 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.251, allocations: 38.56 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.251, allocations: 0 / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007657/0.2518, allocations: 281.6 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2518, allocations: 51.41 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.252, allocations: 213 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2521, allocations: 29.64 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.2521, allocations: 124.1 kB / 1.175 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.2522, allocations: 43.59 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.2523, allocations: 37.69 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2524, allocations: 334.8 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.2526, allocations: 63.94 kB / 1.175 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.2528, allocations: 79.12 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.2532, allocations: 156.7 kB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2532, allocations: 0 / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004922/0.2537, allocations: 209.5 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2538, allocations: 4 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2538, allocations: 3.984 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.2538, allocations: 0 / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.254, allocations: 35.91 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.254, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2542, allocations: 19.94 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2542, allocations: 11.92 kB / 1.176 GB, free: 13.29 MB / 0.9356 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.0001012/0.2543, allocations: 125.8 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.2543, allocations: 23.86 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.2544, allocations: 25.83 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2544, allocations: 0 / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2544, allocations: 4 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2544, allocations: 3.938 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.2547, allocations: 265.4 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2547, allocations: 0 / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.2549, allocations: 39.91 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2549, allocations: 0 / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.2549, allocations: 7.984 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2549, allocations: 4 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2549, allocations: 0 / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.2555, allocations: 307.2 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.2556, allocations: 105 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2556, allocations: 7.984 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.2558, allocations: 11.98 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2558, allocations: 15.98 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2559, allocations: 0 / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001229/0.256, allocations: 164.3 kB / 1.177 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.256, allocations: 4 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002433/0.2562, allocations: 43.89 kB / 1.177 GB, free: 12.06 MB / 0.9356 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.0008348/0.2571, allocations: 0.8453 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004803/0.2576, allocations: 167.8 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2576, allocations: 0 / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.2578, allocations: 95.86 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.2582, allocations: 30.7 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.261, allocations: 2.245 MB / 1.18 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.2613, allocations: 0.7351 MB / 1.181 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.2615, allocations: 48.59 kB / 1.181 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.2616, allocations: 51.41 kB / 1.181 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.2616, allocations: 0 / 1.181 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/1.346, allocations: 3.773 MB / 1.185 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.56, allocations: 7.422 kB / 1.185 GB, free: 4.105 MB / 0.9356 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=400 --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