Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.006206/0.006206, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001136/0.001137, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.317/1.317, 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.547/2.547, allocations: 437.1 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3234, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004338/0.3278, allocations: 2.016 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005268/0.3331, allocations: 3.684 MB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.3333, allocations: 4 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.3337, allocations: 59.56 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.3342, allocations: 103.3 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.3347, allocations: 131.6 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.3351, allocations: 255.1 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3353, allocations: 52.92 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.3356, allocations: 115.5 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3358, allocations: 111.5 kB / 1.173 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.3358, allocations: 16 kB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.3361, allocations: 119.8 kB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.3362, allocations: 47.83 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3363, allocations: 103.3 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.3368, allocations: 279.4 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3368, allocations: 0 / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3368, allocations: 4 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3368, allocations: 0 / 1.173 GB, free: 148 kB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001356/0.3382, allocations: 0.5803 MB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3382, allocations: 8.031 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3383, allocations: 42.73 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.588e-05/0.3384, allocations: 28.56 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3388, allocations: 263.6 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3389, allocations: 4.375 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.3389, allocations: 16.31 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.3394, allocations: 173.5 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3394, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.3394, allocations: 0 / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3394, allocations: 4 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.3401, allocations: 199.8 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009271/0.3411, allocations: 488.1 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.3415, allocations: 126.4 kB / 1.175 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.3418, allocations: 112.8 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008851/0.3427, allocations: 0.5495 MB / 1.176 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3427, allocations: 38.5 kB / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3427, allocations: 0 / 1.176 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001201/0.344, allocations: 349.1 kB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.344, allocations: 63.28 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.3443, allocations: 230.7 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3443, allocations: 29.7 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3444, allocations: 140 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.3445, allocations: 43.39 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.3445, allocations: 25.7 kB / 1.176 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3447, allocations: 334.8 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.345, allocations: 99.84 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.3453, allocations: 100.3 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.346, allocations: 200.8 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.346, allocations: 0 / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007793/0.3468, allocations: 265.2 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3468, allocations: 4 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3468, allocations: 4 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3469, allocations: 0 / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3472, allocations: 39.95 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3472, allocations: 7.922 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.3474, allocations: 31.88 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3474, allocations: 4 kB / 1.177 GB, free: 11.26 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 (11): * Single equations (assignments): 11 * 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.0001424/0.3476, allocations: 129.8 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3477, allocations: 19.72 kB / 1.178 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008601/0.3485, allocations: 279.1 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3485, allocations: 4 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3485, allocations: 3.938 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3486, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.3489, allocations: 273.5 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3489, allocations: 0 / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3492, allocations: 47.94 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3492, allocations: 0 / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3492, allocations: 11.92 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3492, allocations: 0 / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3493, allocations: 3.938 kB / 1.178 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008153/0.3501, allocations: 359 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3502, allocations: 116.7 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3503, allocations: 0 / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.3505, allocations: 31.97 kB / 1.179 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.3506, allocations: 19.91 kB / 1.179 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.3506, allocations: 4 kB / 1.179 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001925/0.3508, allocations: 169.9 kB / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3509, allocations: 0 / 1.179 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003726/0.3512, allocations: 55.98 kB / 1.179 GB, free: 9.672 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 (11): * Single equations (assignments): 11 * 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.001289/0.3525, allocations: 0.9112 MB / 1.18 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007617/0.3533, allocations: 224.1 kB / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3533, allocations: 0 / 1.18 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.3537, allocations: 119.8 kB / 1.18 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3542, allocations: 42.52 kB / 1.18 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.3585, allocations: 2.446 MB / 1.183 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.3589, allocations: 0.7392 MB / 1.183 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.3592, allocations: 36.84 kB / 1.183 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3593, allocations: 70.88 kB / 1.183 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of SimCode: time 8.31e-07/0.3593, allocations: 3.938 kB / 1.183 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.3853, allocations: 4.991 MB / 1.188 GB, free: 136 kB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.434, allocations: 13.33 kB / 1.188 GB, free: 128 kB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches