Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_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.008141/0.008141, allocations: 103.8 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.001821/0.001821, allocations: 189 kB / 16.67 MB, free: 5.961 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7584, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00304/0.7614, allocations: 2.004 MB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.7653, allocations: 3.698 MB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.7654, allocations: 1.469 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.7658, allocations: 55.09 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.7661, allocations: 108.7 kB / 1.093 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.7664, allocations: 129.2 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.7668, allocations: 251.6 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.7669, allocations: 56.02 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.7671, allocations: 113.6 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.7673, allocations: 110 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.662e-05/0.7674, allocations: 15.81 kB / 1.094 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.7676, allocations: 119.1 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.7677, allocations: 46.66 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.7678, allocations: 106.8 kB / 1.094 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.7682, allocations: 273.3 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7682, allocations: 0 / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7682, allocations: 0.75 kB / 1.094 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7682, allocations: 0 / 1.094 GB, free: 0.5273 MB / 0.8575 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.001042/0.7692, allocations: 0.5822 MB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7693, allocations: 10.28 kB / 1.095 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.7694, allocations: 50.84 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/0.7694, allocations: 24.06 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.7699, allocations: 269.8 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.7699, allocations: 12.12 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.7699, allocations: 9.031 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.7705, allocations: 173.7 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7705, allocations: 3.938 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.7705, allocations: 5 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7705, allocations: 2.094 kB / 1.095 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.7712, allocations: 194.8 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.7722, allocations: 484.2 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.7726, allocations: 125.5 kB / 1.096 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.773, allocations: 112.8 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008995/0.7739, allocations: 0.5504 MB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.7739, allocations: 35.59 kB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.774, allocations: 0 / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.001312/0.7753, allocations: 355.9 kB / 1.097 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7753, allocations: 56.66 kB / 1.097 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.7756, allocations: 233.1 kB / 1.098 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.7756, allocations: 26.31 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.7757, allocations: 145.6 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.7758, allocations: 34.36 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.678e-05/0.7759, allocations: 27.56 kB / 1.098 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.776, allocations: 331.5 kB / 1.098 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.7764, allocations: 99.23 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.7768, allocations: 91.7 kB / 1.098 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.7775, allocations: 201.5 kB / 1.098 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7775, allocations: 0 / 1.098 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008309/0.7783, allocations: 259.2 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.7783, allocations: 6 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.7783, allocations: 0 / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.7784, allocations: 1.312 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.7787, allocations: 43.03 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.7787, allocations: 5.438 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.7789, allocations: 36.19 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.779, allocations: 5.594 kB / 1.099 GB, free: 13.52 MB / 0.8731 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.0001212/0.7791, allocations: 127.7 kB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.754e-05/0.7792, allocations: 21.16 kB / 1.099 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000899/0.7801, allocations: 283.8 kB / 1.099 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7801, allocations: 1.656 kB / 1.099 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7801, allocations: 3.938 kB / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7801, allocations: 1.719 kB / 1.099 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.7805, allocations: 279.2 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7805, allocations: 4.562 kB / 1.099 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.7808, allocations: 44.02 kB / 1.1 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.7808, allocations: 1 kB / 1.1 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.7808, allocations: 3.625 kB / 1.1 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7808, allocations: 1.094 kB / 1.1 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.7808, allocations: 7.938 kB / 1.1 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.7817, allocations: 365.5 kB / 1.1 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.7818, allocations: 117.9 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.7819, allocations: 0.75 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.7821, allocations: 27.89 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.7822, allocations: 18.38 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.7822, allocations: 9 kB / 1.1 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001635/0.7824, allocations: 165.2 kB / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7824, allocations: 0 / 1.1 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003563/0.7828, allocations: 57.62 kB / 1.1 GB, free: 12.59 MB / 0.8731 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.001326/0.7841, allocations: 0.928 MB / 1.101 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.7849, allocations: 214.3 kB / 1.101 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.7849, allocations: 4 kB / 1.101 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.7853, allocations: 117.9 kB / 1.101 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.7858, allocations: 30.23 kB / 1.102 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.79, allocations: 2.45 MB / 1.104 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.7904, allocations: 0.735 MB / 1.105 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.7906, allocations: 42.7 kB / 1.105 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.7908, allocations: 69.06 kB / 1.105 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of SimCode: time 8.61e-07/0.7908, allocations: 0 / 1.105 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.8219, allocations: 5.067 MB / 1.11 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.805, allocations: 10.39 kB / 1.11 GB, free: 8.766 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches