Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.004478/0.004478, allocations: 99.8 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.001069/0.001069, allocations: 191 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.585/2.585, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 59.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2379, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00307/0.241, allocations: 2.136 MB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004237/0.2453, allocations: 3.79 MB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.2454, allocations: 4 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.2457, allocations: 59.5 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.2461, allocations: 119.2 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.2464, allocations: 163.5 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.2468, allocations: 306.8 kB / 1.173 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2469, allocations: 72.53 kB / 1.173 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.2471, allocations: 123.5 kB / 1.173 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.2473, allocations: 151.3 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.2474, allocations: 20 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/0.2476, allocations: 135.8 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.2477, allocations: 55.8 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2478, allocations: 127.3 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.2482, allocations: 342.7 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2482, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2482, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.2482, allocations: 4 kB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001194/0.2494, allocations: 0.6382 MB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2495, allocations: 12.03 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.2495, allocations: 38.73 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.2505, allocations: 180.5 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.2512, allocations: 316.5 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2512, allocations: 12.31 kB / 1.175 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.2513, allocations: 12 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.2519, allocations: 221.5 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2519, allocations: 4 kB / 1.175 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.252, allocations: 11.98 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.252, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.253, allocations: 291.7 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2543, allocations: 0.5746 MB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.2548, allocations: 178.2 kB / 1.176 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.2554, allocations: 152.7 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.2562, allocations: 0.5454 MB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2562, allocations: 38.56 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.2562, allocations: 0 / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001686/0.2579, allocations: 481.1 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.258, allocations: 55.41 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2582, allocations: 268.5 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2582, allocations: 29.7 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.2583, allocations: 163.9 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.2584, allocations: 43.62 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/0.2585, allocations: 41.59 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2586, allocations: 338.8 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005297/0.2591, allocations: 147.9 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.2597, allocations: 139.9 kB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2607, allocations: 294.4 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2607, allocations: 0 / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001153/0.2619, allocations: 375 kB / 1.179 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2619, allocations: 4 kB / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2619, allocations: 0 / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2619, allocations: 0 / 1.179 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.2624, allocations: 75.84 kB / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2624, allocations: 0 / 1.179 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2627, allocations: 51.78 kB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.2627, allocations: 7.984 kB / 1.179 GB, free: 9.672 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 (17): * Single equations (assignments): 17 * 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.0001198/0.2629, allocations: 125.8 kB / 1.179 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.2629, allocations: 23.86 kB / 1.179 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.2642, allocations: 387.2 kB / 1.18 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2642, allocations: 4 kB / 1.18 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.2642, allocations: 0 / 1.18 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2642, allocations: 3.938 kB / 1.18 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.2645, allocations: 297.4 kB / 1.18 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2645, allocations: 7.938 kB / 1.18 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.2649, allocations: 59.91 kB / 1.18 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2649, allocations: 0 / 1.18 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.265, allocations: 4 kB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.265, allocations: 3.938 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.265, allocations: 0 / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.2661, allocations: 462.5 kB / 1.18 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2662, allocations: 120.9 kB / 1.181 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.2663, allocations: 4 kB / 1.181 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.2666, allocations: 39.94 kB / 1.181 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.2667, allocations: 19.92 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2667, allocations: 7.984 kB / 1.181 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001531/0.2669, allocations: 187.1 kB / 1.181 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2669, allocations: 0 / 1.181 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003389/0.2672, allocations: 75.81 kB / 1.181 GB, free: 7.777 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.001478/0.2687, allocations: 1.013 MB / 1.182 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.2698, allocations: 323.6 kB / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2699, allocations: 0 / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.2704, allocations: 163.8 kB / 1.182 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2708, allocations: 35.14 kB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.2758, allocations: 2.892 MB / 1.185 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.276, allocations: 0.7396 MB / 1.186 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000223/0.2763, allocations: 45.39 kB / 1.186 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2764, allocations: 87.33 kB / 1.186 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.2764, allocations: 0 / 1.186 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2979, allocations: 5.832 MB / 1.192 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.986, allocations: 18.94 kB / 1.192 GB, free: 12.7 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches