Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_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.007384/0.007384, allocations: 103.7 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.001645/0.001645, allocations: 200.5 kB / 16.68 MB, free: 5.98 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.89 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2997, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003779/0.3036, allocations: 2.029 MB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.3084, allocations: 3.692 MB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3086, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.309, allocations: 59.56 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.3094, allocations: 99.34 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3099, allocations: 131.6 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.3103, allocations: 251.1 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3105, allocations: 60.34 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.3108, allocations: 115.5 kB / 1.214 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.311, allocations: 111.5 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.311, allocations: 16 kB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002649/0.3113, allocations: 119.8 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.3114, allocations: 47.81 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3115, allocations: 95.47 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.3119, allocations: 283 kB / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3119, allocations: 0 / 1.214 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3119, allocations: 4 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.312, allocations: 0 / 1.214 GB, free: 2.988 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001262/0.3132, allocations: 0.5801 MB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3133, allocations: 8.625 kB / 1.215 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.3133, allocations: 46.73 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3134, allocations: 24.66 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3139, allocations: 271.5 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.314, allocations: 8.375 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.314, allocations: 8.375 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.3145, allocations: 170.5 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3145, allocations: 0 / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3146, allocations: 8 kB / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3146, allocations: 0 / 1.215 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.3153, allocations: 199.8 kB / 1.215 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.3163, allocations: 488.3 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.3167, allocations: 122.4 kB / 1.216 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.3171, allocations: 116.7 kB / 1.216 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/0.318, allocations: 0.5454 MB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3181, allocations: 42.56 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 3.627e-06/0.3181, allocations: 3.984 kB / 1.217 GB, free: 96 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001323/0.3194, allocations: 353.3 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3195, allocations: 55.34 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.3197, allocations: 230.7 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3198, allocations: 25.7 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.3199, allocations: 144 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.3199, allocations: 39.45 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.32, allocations: 29.7 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3202, allocations: 330.8 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.3205, allocations: 95.91 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.3209, allocations: 95.91 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.3216, allocations: 200.7 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3216, allocations: 0 / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008427/0.3225, allocations: 257.8 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3225, allocations: 13.41 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3225, allocations: 0 / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3225, allocations: 0 / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.3229, allocations: 47.88 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3229, allocations: 3.938 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3231, allocations: 31.91 kB / 1.219 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.3232, allocations: 8 kB / 1.219 GB, free: 14.12 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 (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.0001346/0.3233, allocations: 125.8 kB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.3234, allocations: 19.72 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.3243, allocations: 291.1 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3243, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3243, allocations: 3.938 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3244, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3247, allocations: 269.5 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3247, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.325, allocations: 55.94 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.325, allocations: 0 / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.325, allocations: 3.984 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.325, allocations: 0 / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3251, allocations: 3.938 kB / 1.219 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.326, allocations: 367 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3261, allocations: 116.7 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.3262, allocations: 0 / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3264, allocations: 23.97 kB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3265, allocations: 23.91 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3266, allocations: 11.94 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001545/0.3267, allocations: 162 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3267, allocations: 0 / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003418/0.3271, allocations: 55.98 kB / 1.22 GB, free: 12.52 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 (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.001347/0.3284, allocations: 0.9229 MB / 1.221 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008323/0.3293, allocations: 215.8 kB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3293, allocations: 0 / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.3297, allocations: 123.8 kB / 1.221 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3302, allocations: 29.69 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.3346, allocations: 2.453 MB / 1.224 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.3352, allocations: 0.7351 MB / 1.224 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002401/0.3355, allocations: 40.83 kB / 1.224 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3356, allocations: 67.41 kB / 1.225 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.3357, allocations: 0 / 1.225 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.3609, allocations: 5.074 MB / 1.23 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.604, allocations: 11.81 kB / 1.23 GB, free: 2.887 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches