Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001467/0.001467, allocations: 198.3 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.004151/0.2756, allocations: 1.568 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.2765, allocations: 423 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.157e-05/0.2766, allocations: 3.938 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.787e-05/0.2767, allocations: 7.938 kB / 1.054 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.2768, allocations: 3.938 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.277, allocations: 11.98 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2771, allocations: 51.78 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2773, allocations: 11.98 kB / 1.054 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.2774, allocations: 19.92 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2775, allocations: 23.86 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.2775, allocations: 4 kB / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.2776, allocations: 0 / 1.054 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.2776, allocations: 8 kB / 1.054 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.2777, allocations: 23.84 kB / 1.054 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2778, allocations: 44.11 kB / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/0.2778, allocations: 0 / 1.054 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2778, allocations: 3.938 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2778, allocations: 0 / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006228/0.2785, allocations: 359.3 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2785, allocations: 15.91 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.2786, allocations: 38.75 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.2786, allocations: 4.844 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2788, allocations: 172.3 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2788, allocations: 4.375 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2788, allocations: 384 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.2791, allocations: 61.8 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2791, allocations: 0 / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2791, allocations: 4 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2791, allocations: 3.938 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.2793, allocations: 43.91 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.2798, allocations: 272.8 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.28, allocations: 46.56 kB / 1.055 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.2801, allocations: 20.94 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2801, allocations: 4 kB / 1.055 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2801, allocations: 30.56 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2801, allocations: 0 / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004166/0.2806, allocations: 97.77 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.2806, allocations: 51.41 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2808, allocations: 121.8 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2808, allocations: 25.7 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.2809, allocations: 92.05 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.2809, allocations: 3.906 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.2809, allocations: 21.7 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2811, allocations: 322.8 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.2812, allocations: 15.98 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.2813, allocations: 15.98 kB / 1.056 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.2815, allocations: 52.7 kB / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2815, allocations: 0 / 1.056 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002423/0.2817, allocations: 73.56 kB / 1.056 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2818, allocations: 8 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2818, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2818, allocations: 4 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2819, allocations: 7.984 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2819, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.282, allocations: 4 kB / 1.056 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.282, allocations: 0 / 1.056 GB, free: 3.781 MB / 0.8106 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 (3): * Single equations (assignments): 3 * 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.0001001/0.2821, allocations: 117.8 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.2822, allocations: 4 kB / 1.056 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.2822, allocations: 11.89 kB / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2822, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2823, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2823, allocations: 0 / 1.056 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.2825, allocations: 173.6 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2825, allocations: 0 / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/0.2826, allocations: 11.92 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2826, allocations: 4 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2827, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2827, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2827, allocations: 4 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.283, allocations: 171.4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.283, allocations: 88.89 kB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2831, allocations: 0 / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.2832, allocations: 7.984 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.2833, allocations: 4 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.2833, allocations: 8 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.663e-05/0.2833, allocations: 95.27 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2834, allocations: 0 / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003957/0.2838, allocations: 8 kB / 1.057 GB, free: 2.984 MB / 0.8106 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 (3): * Single equations (assignments): 3 * 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.0006431/0.2844, allocations: 0.7046 MB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.2847, allocations: 39.91 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2847, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/0.2848, allocations: 28.23 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2851, allocations: 8 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.2858, allocations: 199.7 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2861, allocations: 0.681 MB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.721e-05/0.2861, allocations: 7.969 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.2862, allocations: 15.44 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2862, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.2986, allocations: 1.308 MB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/0.2989, allocations: 241.9 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.022, allocations: 3.938 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches