Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example8",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.007332/0.007332, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001697/0.001697, allocations: 193.7 kB / 16.67 MB, free: 5.926 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.266/2.266, allocations: 390.3 MB / 0.6648 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7738, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001371/0.7753, allocations: 0.5157 MB / 1.088 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.7754, allocations: 22.75 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.7754, allocations: 1.219 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.7754, allocations: 0 / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.7756, allocations: 2.891 kB / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.7756, allocations: 0 / 1.088 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.7756, allocations: 7.453 kB / 1.088 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.7757, allocations: 9.891 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.978e-05/0.7757, allocations: 2.906 kB / 1.088 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.7758, allocations: 5.984 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.7758, allocations: 0 / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-06/0.7758, allocations: 0 / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.7758, allocations: 5.078 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.7758, allocations: 0 / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 3.932e-05/0.7759, allocations: 7.016 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7759, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7759, allocations: 0 / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.7759, allocations: 0 / 1.088 GB, free: 4.914 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002002/0.7761, allocations: 319.2 kB / 1.088 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7761, allocations: 9.609 kB / 1.088 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.25e-05/0.7762, allocations: 40.34 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.865e-05/0.7762, allocations: 0.9375 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.678e-05/0.7762, allocations: 161.8 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.7763, allocations: 1.656 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.7763, allocations: 5.438 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.7764, allocations: 45.22 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7764, allocations: 4.734 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.7764, allocations: 1.25 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7764, allocations: 3.984 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.7764, allocations: 3.266 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.737e-05/0.7765, allocations: 159.8 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.7766, allocations: 43.09 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.7766, allocations: 12.88 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.7766, allocations: 2.188 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.7766, allocations: 36.88 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7766, allocations: 0 / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.7768, allocations: 43.92 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.7768, allocations: 87.33 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.624e-05/0.7768, allocations: 92.55 kB / 1.089 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-06/0.7768, allocations: 26.5 kB / 1.089 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-06/0.7769, allocations: 80.14 kB / 1.089 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.7769, allocations: 11.5 kB / 1.089 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.7769, allocations: 12.7 kB / 1.089 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/0.7769, allocations: 313.3 kB / 1.089 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.777, allocations: 1.312 kB / 1.089 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.777, allocations: 20.67 kB / 1.089 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.777, allocations: 16.55 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.777, allocations: 3.938 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.812e-05/0.7771, allocations: 45.47 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.7771, allocations: 8.406 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.7771, allocations: 5.062 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7771, allocations: 1.062 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.7772, allocations: 3.734 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7772, allocations: 1.875 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.7772, allocations: 1.312 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.7772, allocations: 4.5 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 3.514e-05/0.7772, allocations: 108.7 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.7773, allocations: 9.531 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.7774, allocations: 53.55 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.7774, allocations: 0 / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7774, allocations: 1.125 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.7774, allocations: 1.953 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.996e-05/0.7774, allocations: 157.9 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.7774, allocations: 0 / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.7775, allocations: 4.047 kB / 1.09 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7775, allocations: 6.078 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.7775, allocations: 1.156 kB / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7775, allocations: 64 / 1.09 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7775, allocations: 6.078 kB / 1.09 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.379e-05/0.7775, allocations: 65.33 kB / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.7776, allocations: 83.52 kB / 1.09 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.7776, allocations: 5.953 kB / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.7776, allocations: 0 / 1.09 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7776, allocations: 6.344 kB / 1.09 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.7776, allocations: 1.062 kB / 1.09 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.388e-05/0.7777, allocations: 76.86 kB / 1.09 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7777, allocations: 1.094 kB / 1.09 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001688/0.7778, allocations: 1.094 kB / 1.09 GB, free: 2.527 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001941/0.778, allocations: 0.6101 MB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.7781, allocations: 11.64 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7781, allocations: 1.031 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.7781, allocations: 7.719 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.7783, allocations: 2.281 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.7786, allocations: 126.3 kB / 1.091 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.7788, allocations: 0.6781 MB / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.7788, allocations: 0 / 1.092 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.7788, allocations: 9.375 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7788, allocations: 0 / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.624/2.403, allocations: 0.9188 MB / 1.092 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/13.03, allocations: 11.77 kB / 1.092 GB, free: 16.68 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches