Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8527/0.8527, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.674/1.674, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.957e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002549/0.002568, allocations: 2.02 MB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.005765, allocations: 3.888 MB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.005842, allocations: 7.938 kB / 0.9867 GB, free: 12.64 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.006424, allocations: 183.1 kB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.006498, allocations: 71.3 kB / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.006904, allocations: 313.7 kB / 0.9873 GB, free: 12.08 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.007307, allocations: 394.7 kB / 0.9877 GB, free: 11.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.59e-05/0.007403, allocations: 40.58 kB / 0.9877 GB, free: 11.65 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.007536, allocations: 159.6 kB / 0.9878 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.00764, allocations: 99.69 kB / 0.9879 GB, free: 11.4 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.007663, allocations: 16 kB / 0.988 GB, free: 11.38 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.007967, allocations: 311.5 kB / 0.9883 GB, free: 11.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.008056, allocations: 107.7 kB / 0.9884 GB, free: 10.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.008125, allocations: 91.7 kB / 0.9884 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.008568, allocations: 0.5763 MB / 0.989 GB, free: 10.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.008571, allocations: 0 / 0.989 GB, free: 10.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.008572, allocations: 4 kB / 0.989 GB, free: 10.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.008577, allocations: 3.984 kB / 0.989 GB, free: 10.3 MB / 0.948 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.0007834/0.009361, allocations: 0.6885 MB / 0.9897 GB, free: 9.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.009396, allocations: 12.03 kB / 0.9897 GB, free: 9.559 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.009428, allocations: 42.75 kB / 0.9897 GB, free: 9.508 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.009643, allocations: 80.64 kB / 0.9898 GB, free: 9.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.009978, allocations: 291.9 kB / 0.9901 GB, free: 9.121 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.009988, allocations: 8.375 kB / 0.9901 GB, free: 9.113 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.01001, allocations: 8.375 kB / 0.9901 GB, free: 9.105 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.0103, allocations: 194 kB / 0.9903 GB, free: 8.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.0103, allocations: 4.188 kB / 0.9903 GB, free: 8.906 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.01032, allocations: 7.875 kB / 0.9903 GB, free: 8.898 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.01032, allocations: 0 / 0.9903 GB, free: 8.898 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.0107, allocations: 251.7 kB / 0.9905 GB, free: 8.652 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.0113, allocations: 0.5306 MB / 0.9911 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.01154, allocations: 174.4 kB / 0.9912 GB, free: 7.898 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.01172, allocations: 128.8 kB / 0.9914 GB, free: 7.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.01176, allocations: 23.98 kB / 0.9914 GB, free: 7.746 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.01178, allocations: 34.56 kB / 0.9914 GB, free: 7.703 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.01178, allocations: 0 / 0.9914 GB, free: 7.703 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006778/0.01246, allocations: 445.5 kB / 0.9918 GB, free: 7.262 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.01249, allocations: 55.34 kB / 0.9919 GB, free: 7.195 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.01277, allocations: 429.8 kB / 0.9923 GB, free: 6.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.01278, allocations: 25.7 kB / 0.9923 GB, free: 6.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.01287, allocations: 180 kB / 0.9925 GB, free: 6.551 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.01289, allocations: 31.7 kB / 0.9925 GB, free: 6.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01295, allocations: 45.69 kB / 0.9926 GB, free: 6.469 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.01304, allocations: 354.7 kB / 0.9929 GB, free: 6.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.01327, allocations: 201.6 kB / 0.9931 GB, free: 5.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.01349, allocations: 217.6 kB / 0.9933 GB, free: 5.691 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.01391, allocations: 356.4 kB / 0.9936 GB, free: 5.336 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01391, allocations: 0 / 0.9936 GB, free: 5.336 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005235/0.01443, allocations: 0.5099 MB / 0.9941 GB, free: 4.809 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.01446, allocations: 49.69 kB / 0.9942 GB, free: 4.754 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.01446, allocations: 3.938 kB / 0.9942 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.01447, allocations: 0 / 0.9942 GB, free: 4.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.01462, allocations: 43.95 kB / 0.9942 GB, free: 4.707 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01462, allocations: 0 / 0.9942 GB, free: 4.707 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01473, allocations: 35.84 kB / 0.9943 GB, free: 4.672 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01474, allocations: 8 kB / 0.9943 GB, free: 4.664 MB / 0.948 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001018/0.01484, allocations: 161.7 kB / 0.9944 GB, free: 4.496 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01488, allocations: 43.75 kB / 0.9945 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.01536, allocations: 340.7 kB / 0.9948 GB, free: 4.117 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01537, allocations: 4 kB / 0.9948 GB, free: 4.113 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01537, allocations: 0 / 0.9948 GB, free: 4.113 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01537, allocations: 3.984 kB / 0.9948 GB, free: 4.109 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.01559, allocations: 296.5 kB / 0.9951 GB, free: 3.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01559, allocations: 3.984 kB / 0.9951 GB, free: 3.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01571, allocations: 39.95 kB / 0.9951 GB, free: 3.734 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01571, allocations: 4 kB / 0.9951 GB, free: 3.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01572, allocations: 7.984 kB / 0.9951 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01572, allocations: 0 / 0.9951 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01572, allocations: 0 / 0.9951 GB, free: 3.723 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.01618, allocations: 430.8 kB / 0.9955 GB, free: 3.285 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-05/0.01624, allocations: 51.73 kB / 0.9956 GB, free: 3.234 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.01627, allocations: 4 kB / 0.9956 GB, free: 3.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.01638, allocations: 23.97 kB / 0.9956 GB, free: 3.207 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.01643, allocations: 15.97 kB / 0.9956 GB, free: 3.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.01644, allocations: 4 kB / 0.9956 GB, free: 3.188 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001908/0.01663, allocations: 299.1 kB / 0.9959 GB, free: 2.898 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01663, allocations: 0 / 0.9959 GB, free: 2.898 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002627/0.01689, allocations: 123.8 kB / 0.996 GB, free: 2.777 MB / 0.948 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.0007853/0.01768, allocations: 1.041 MB / 0.9971 GB, free: 1.707 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005391/0.01821, allocations: 472.8 kB / 0.9975 GB, free: 1.227 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01822, allocations: 0 / 0.9975 GB, free: 1.227 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.01842, allocations: 139.8 kB / 0.9976 GB, free: 1.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.01871, allocations: 67 kB / 0.9977 GB, free: 1.031 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.02233, allocations: 4.368 MB / 1.002 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.02243, allocations: 187.2 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.02254, allocations: 49.84 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02265, allocations: 108.5 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.02265, allocations: 3.938 kB / 1.002 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.04227, allocations: 9.485 MB / 1.012 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.458/6.501, allocations: 11.98 kB / 1.012 GB, free: 2.93 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.320338569581509]