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 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.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.006628/0.006628, allocations: 102 kB / 15.73 MB, free: 6.051 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.001421/0.001421, allocations: 195 kB / 16.68 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2774, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001779/0.2792, allocations: 0.525 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.2794, allocations: 47.8 kB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.2795, allocations: 0 / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2795, allocations: 0 / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.2797, allocations: 7.938 kB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.593e-05/0.2798, allocations: 11.98 kB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.2798, allocations: 11.94 kB / 1.208 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.2799, allocations: 4 kB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.2799, allocations: 3.984 kB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.28, allocations: 15.92 kB / 1.208 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.28, allocations: 4 kB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-06/0.2801, allocations: 3.938 kB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.2801, allocations: 3.984 kB / 1.208 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.2801, allocations: 7.938 kB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 5.627e-05/0.2802, allocations: 11.94 kB / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2802, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2802, allocations: 0 / 1.208 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.2802, allocations: 0 / 1.208 GB, free: 9.551 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003982/0.2806, allocations: 331.8 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2807, allocations: 8.625 kB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.2807, allocations: 30.75 kB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.2808, allocations: 0.9375 kB / 1.208 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.281, allocations: 184.2 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.281, allocations: 4.375 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.281, allocations: 384 / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.408e-05/0.2811, allocations: 34.2 kB / 1.208 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2811, allocations: 7.922 kB / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2811, allocations: 0 / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2811, allocations: 0 / 1.208 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.2811, allocations: 4 kB / 1.208 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.2813, allocations: 153.7 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.2813, allocations: 22.58 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.2813, allocations: 8.844 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.2814, allocations: 8 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.2814, allocations: 30.56 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2814, allocations: 0 / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.2815, allocations: 45.62 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2816, allocations: 51.41 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.2817, allocations: 118 kB / 1.209 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2817, allocations: 25.7 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.2817, allocations: 88.14 kB / 1.209 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2818, allocations: 3.906 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.2818, allocations: 13.7 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.2819, allocations: 314.8 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.2819, allocations: 4 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.2819, allocations: 25.64 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.282, allocations: 17.72 kB / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.282, allocations: 0 / 1.209 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.397e-05/0.2821, allocations: 49.62 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2821, allocations: 11.94 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2821, allocations: 3.938 kB / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2821, allocations: 0 / 1.209 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.2822, allocations: 12.36 kB / 1.209 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2822, allocations: 3.938 kB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.2822, allocations: 8 kB / 1.209 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2823, allocations: 0 / 1.209 GB, free: 7.715 MB / 0.9669 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.117e-05/0.2823, allocations: 105.8 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.2823, allocations: 7.938 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.967e-05/0.2824, allocations: 57.05 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2824, allocations: 4 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2825, allocations: 4.031 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2825, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.999e-05/0.2826, allocations: 153.7 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2826, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.2826, allocations: 4 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2826, allocations: 3.938 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2827, allocations: 0 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2827, allocations: 0 / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2827, allocations: 3.984 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.2828, allocations: 89.05 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2828, allocations: 77.11 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2829, allocations: 7.969 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.2829, allocations: 7.969 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.2829, allocations: 0 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2829, allocations: 0 / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.283, allocations: 87.28 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.283, allocations: 0 / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001872/0.2832, allocations: 4 kB / 1.21 GB, free: 7.004 MB / 0.9669 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.0003438/0.2835, allocations: 0.6164 MB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.181e-05/0.2836, allocations: 19.92 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2836, allocations: 0 / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.602e-05/0.2836, allocations: 16.2 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.2838, allocations: 0 / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008703/0.2846, allocations: 1.151 MB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2849, allocations: 0.6768 MB / 1.212 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.2849, allocations: 11.89 kB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.2849, allocations: 7.438 kB / 1.212 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.2849, allocations: 3.938 kB / 1.212 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.3021, allocations: 1.206 MB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.392, allocations: 8.641 kB / 1.214 GB, free: 3.234 MB / 0.9669 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=50 --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) "" Variables in the reference:time,c Variables in the result:a[1],a[2],a[3],b,c,der(c),efficient,time