Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example5",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.005173/0.005173, allocations: 97.3 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.001386/0.001386, allocations: 199.5 kB / 16.68 MB, free: 5.965 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.63/2.63, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 63.89 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2623, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001329/0.2637, allocations: 0.5289 MB / 1.242 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.2639, allocations: 47.81 kB / 1.242 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.2639, allocations: 0 / 1.242 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.264, allocations: 4 kB / 1.242 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.2641, allocations: 3.984 kB / 1.242 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.644e-05/0.2641, allocations: 7.922 kB / 1.242 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.2642, allocations: 8 kB / 1.242 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.2642, allocations: 11.92 kB / 1.242 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.2642, allocations: 7.984 kB / 1.242 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.2643, allocations: 7.938 kB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2643, allocations: 0 / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.2643, allocations: 7.938 kB / 1.242 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.2644, allocations: 11.97 kB / 1.242 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.2644, allocations: 7.938 kB / 1.242 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 4.815e-05/0.2645, allocations: 7.938 kB / 1.242 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2645, allocations: 0 / 1.242 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2645, allocations: 0 / 1.242 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2645, allocations: 3.984 kB / 1.242 GB, free: 9.207 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003649/0.2649, allocations: 327.5 kB / 1.243 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2649, allocations: 12.03 kB / 1.243 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.634e-05/0.2649, allocations: 34.75 kB / 1.243 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.859e-05/0.2649, allocations: 4.891 kB / 1.243 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.2651, allocations: 172.4 kB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-06/0.2651, allocations: 384 / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.2652, allocations: 4.375 kB / 1.243 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.126e-05/0.2652, allocations: 34.25 kB / 1.243 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2652, allocations: 3.938 kB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-06/0.2652, allocations: 0 / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2652, allocations: 0 / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.2653, allocations: 7.938 kB / 1.243 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.2654, allocations: 153.7 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.178e-05/0.2654, allocations: 18.61 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.2655, allocations: 12.91 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2655, allocations: 4 kB / 1.243 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2655, allocations: 30.56 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2655, allocations: 0 / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.2656, allocations: 57.52 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2657, allocations: 51.41 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.2658, allocations: 109.8 kB / 1.243 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.2658, allocations: 25.7 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.2658, allocations: 84.14 kB / 1.244 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.2658, allocations: 3.938 kB / 1.244 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.2659, allocations: 17.7 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.266, allocations: 319 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.266, allocations: 4 kB / 1.244 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.2661, allocations: 17.7 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.2661, allocations: 25.66 kB / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2661, allocations: 0 / 1.244 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.473e-05/0.2662, allocations: 49.7 kB / 1.244 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2662, allocations: 17.28 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2662, allocations: 0 / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2662, allocations: 7.938 kB / 1.244 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.2663, allocations: 7.984 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2663, allocations: 0 / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.2663, allocations: 0 / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2663, allocations: 256 / 1.244 GB, free: 7.379 MB / 0.9981 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 6.936e-05/0.2664, allocations: 113.8 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2664, allocations: 3.938 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.2665, allocations: 57.2 kB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.2665, allocations: 0 / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2665, allocations: 4 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2665, allocations: 0 / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.2666, allocations: 157.7 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2666, allocations: 0 / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.2667, allocations: 3.938 kB / 1.244 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2667, allocations: 7.938 kB / 1.244 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.2667, allocations: 0 / 1.244 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2667, allocations: 0 / 1.244 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2667, allocations: 4.031 kB / 1.244 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.2668, allocations: 81.06 kB / 1.244 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.2669, allocations: 81.14 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2669, allocations: 7.922 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.2669, allocations: 0 / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.2669, allocations: 4 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.267, allocations: 0 / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.267, allocations: 95.36 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.267, allocations: 0 / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001614/0.2672, allocations: 0 / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.000355/0.2675, allocations: 0.6168 MB / 1.245 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.702e-05/0.2676, allocations: 16.09 kB / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2676, allocations: 0 / 1.245 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.594e-05/0.2676, allocations: 11.92 kB / 1.245 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.2678, allocations: 11.98 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.2686, allocations: 1.147 MB / 1.246 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2689, allocations: 0.6806 MB / 1.247 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.2689, allocations: 4 kB / 1.247 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.269, allocations: 11.44 kB / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.269, allocations: 0 / 1.247 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/1.413, allocations: 1.196 MB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.16, allocations: 7.75 kB / 1.248 GB, free: 2.91 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches