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.005041/0.005041, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001076/0.001076, allocations: 194.4 kB / 16.67 MB, free: 5.969 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.346/1.346, 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 11.0.1-master/package.mo): time 2.656/2.656, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 60.12 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2975, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003322/0.3009, allocations: 2.025 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.3052, allocations: 3.692 MB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.3054, allocations: 0 / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.3057, allocations: 59.56 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3061, allocations: 103.3 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.3065, allocations: 131.7 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.3068, allocations: 251.1 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.307, allocations: 52.36 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3072, allocations: 111.5 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3074, allocations: 119.4 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.3074, allocations: 16 kB / 1.214 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.3077, allocations: 119.8 kB / 1.214 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.3077, allocations: 43.84 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3079, allocations: 103.3 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.3082, allocations: 279 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3083, allocations: 0 / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3083, allocations: 4 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3083, allocations: 0 / 1.214 GB, free: 3.039 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.001218/0.3095, allocations: 0.5892 MB / 1.215 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3096, allocations: 8.625 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.3096, allocations: 38.75 kB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.3097, allocations: 24.66 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.3101, allocations: 271.5 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3102, allocations: 8.375 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.3102, allocations: 8.375 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004902/0.3107, allocations: 173.5 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3107, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3107, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3108, allocations: 4 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006246/0.3114, allocations: 199.8 kB / 1.215 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.3123, allocations: 492.3 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.3127, allocations: 122.4 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3131, allocations: 112.8 kB / 1.216 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.3139, allocations: 0.5493 MB / 1.217 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.314, allocations: 30.56 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.314, allocations: 0 / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001132/0.3151, allocations: 361.2 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3152, allocations: 63.34 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3154, allocations: 226.7 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3154, allocations: 29.7 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.3155, allocations: 148 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.3156, allocations: 35.45 kB / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.3157, allocations: 29.7 kB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3158, allocations: 330.8 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.3161, allocations: 91.91 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.3164, allocations: 99.91 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.317, allocations: 200.7 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3171, allocations: 4 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007115/0.3178, allocations: 261.1 kB / 1.219 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3178, allocations: 4 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3178, allocations: 4 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3178, allocations: 3.984 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.3182, allocations: 39.95 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3182, allocations: 3.938 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.3184, allocations: 39.83 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3184, allocations: 4 kB / 1.219 GB, free: 14.16 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.0001205/0.3186, allocations: 129.8 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.3186, allocations: 19.72 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008105/0.3194, allocations: 279 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3195, allocations: 7.984 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3195, allocations: 3.938 kB / 1.219 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3195, allocations: 3.984 kB / 1.219 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.3198, allocations: 265.5 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3198, allocations: 4 kB / 1.219 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.3201, allocations: 43.94 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.3201, allocations: 4 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3201, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3201, allocations: 0 / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3202, allocations: 7.922 kB / 1.219 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.3209, allocations: 363.8 kB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3211, allocations: 116.7 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.3211, allocations: 0 / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3214, allocations: 31.97 kB / 1.22 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.3214, allocations: 15.92 kB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3215, allocations: 7.984 kB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001357/0.3216, allocations: 166 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.3216, allocations: 0 / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003325/0.3219, allocations: 55.98 kB / 1.22 GB, free: 12.57 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.001134/0.3231, allocations: 0.9268 MB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007059/0.3238, allocations: 211.8 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3238, allocations: 4 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.3242, allocations: 115.8 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3246, allocations: 38.66 kB / 1.221 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3285, allocations: 2.455 MB / 1.224 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3288, allocations: 0.7392 MB / 1.224 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001675/0.3289, allocations: 52.75 kB / 1.224 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3291, allocations: 63.41 kB / 1.225 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3291, allocations: 0 / 1.225 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3512, allocations: 5.066 MB / 1.229 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.34, allocations: 10.86 kB / 1.23 GB, free: 2.926 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