Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",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.008663/0.008663, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001783/0.001784, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 72.11 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3002, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005192/0.3054, allocations: 3.755 MB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007853/0.3133, allocations: 4.882 MB / 1.216 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005989/0.3139, allocations: 16 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.318, allocations: 1.408 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.3199, allocations: 0.7859 MB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.3219, allocations: 0.8446 MB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02024/0.3421, allocations: 12.79 MB / 1.231 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3426, allocations: 93.75 kB / 1.231 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.3439, allocations: 0.584 MB / 1.232 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007945/0.3447, allocations: 0.5876 MB / 1.232 GB, free: 280 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3449, allocations: 72 kB / 1.232 GB, free: 208 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.3465, allocations: 0.8345 MB / 1.233 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/0.3472, allocations: 0.7947 MB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009137/0.3482, allocations: 0.8625 MB / 1.235 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.3512, allocations: 2.605 MB / 1.237 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3512, allocations: 4 kB / 1.237 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3512, allocations: 4 kB / 1.237 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.3512, allocations: 0 / 1.237 GB, free: 11.08 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.004702/0.356, allocations: 2.25 MB / 1.24 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.356, allocations: 8.625 kB / 1.24 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.3561, allocations: 50.55 kB / 1.24 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/0.3588, allocations: 489.2 kB / 1.24 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.369, allocations: 5.641 MB / 1.246 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/0.3691, allocations: 24 kB / 1.246 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3692, allocations: 32 kB / 1.246 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.3706, allocations: 0.6456 MB / 1.246 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3706, allocations: 3.938 kB / 1.246 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.3707, allocations: 11.98 kB / 1.246 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3707, allocations: 7.938 kB / 1.246 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.3723, allocations: 0.5307 MB / 1.247 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5614/0.9337, allocations: 2.299 MB / 1.249 GB, free: 38.81 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.9354, allocations: 0.6993 MB / 1.25 GB, free: 38.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.9361, allocations: 287.1 kB / 1.25 GB, free: 38.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.9361, allocations: 3.062 kB / 1.25 GB, free: 38.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.9362, allocations: 40.31 kB / 1.25 GB, free: 38.74 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.823e-06/0.9362, allocations: 0 / 1.25 GB, free: 38.74 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.002617/0.9388, allocations: 1.023 MB / 1.251 GB, free: 38.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.9388, allocations: 54.19 kB / 1.251 GB, free: 38.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.9418, allocations: 2.986 MB / 1.254 GB, free: 38.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.9419, allocations: 35.08 kB / 1.254 GB, free: 38.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.9423, allocations: 0.6808 MB / 1.255 GB, free: 38.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.9424, allocations: 87.67 kB / 1.255 GB, free: 38.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.9428, allocations: 350.3 kB / 1.255 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.9429, allocations: 313.1 kB / 1.256 GB, free: 37.93 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.9443, allocations: 1.092 MB / 1.257 GB, free: 37.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.9459, allocations: 1.445 MB / 1.258 GB, free: 37.61 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.9492, allocations: 2.321 MB / 1.26 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.9492, allocations: 1.969 kB / 1.26 GB, free: 37.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004205/0.9535, allocations: 2.734 MB / 1.263 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.9535, allocations: 7.906 kB / 1.263 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.9535, allocations: 11.11 kB / 1.263 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.9536, allocations: 11.91 kB / 1.263 GB, free: 37.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.9548, allocations: 264 kB / 1.263 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-05/0.9548, allocations: 17.52 kB / 1.263 GB, free: 37.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.9565, allocations: 206.2 kB / 1.263 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.9567, allocations: 77.86 kB / 1.264 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002447/0.9591, allocations: 1.399 MB / 1.265 GB, free: 36.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001821/0.9609, allocations: 1.293 MB / 1.266 GB, free: 36.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002864/0.9638, allocations: 2.025 MB / 1.268 GB, free: 35.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/0.9638, allocations: 1.875 kB / 1.268 GB, free: 35.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00427/0.9681, allocations: 2.427 MB / 1.271 GB, free: 34.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.9682, allocations: 8.75 kB / 1.271 GB, free: 34.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.9682, allocations: 6.969 kB / 1.271 GB, free: 34.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.9682, allocations: 12.64 kB / 1.271 GB, free: 34.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.9692, allocations: 248 kB / 1.271 GB, free: 34.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/0.9693, allocations: 17.69 kB / 1.271 GB, free: 34.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.9712, allocations: 187.7 kB / 1.271 GB, free: 34.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.9713, allocations: 68 kB / 1.271 GB, free: 34.83 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0004009/0.9718, allocations: 232.7 kB / 1.271 GB, free: 34.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.9721, allocations: 169.2 kB / 1.271 GB, free: 34.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.9745, allocations: 0.8071 MB / 1.272 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.9745, allocations: 4.391 kB / 1.272 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9745, allocations: 1.375 kB / 1.272 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.9745, allocations: 1.359 kB / 1.272 GB, free: 34.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.9763, allocations: 1.08 MB / 1.273 GB, free: 33.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9763, allocations: 1.703 kB / 1.273 GB, free: 33.76 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.9768, allocations: 93.38 kB / 1.273 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9769, allocations: 2.156 kB / 1.273 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.9769, allocations: 10.77 kB / 1.273 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.9769, allocations: 1.25 kB / 1.273 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.9769, allocations: 1.438 kB / 1.273 GB, free: 33.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.979, allocations: 0.8674 MB / 1.274 GB, free: 33.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007922/0.9798, allocations: 371.6 kB / 1.275 GB, free: 33.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.98, allocations: 9.688 kB / 1.275 GB, free: 33.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009678/0.981, allocations: 87.56 kB / 1.275 GB, free: 33.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/0.9811, allocations: 20.8 kB / 1.275 GB, free: 33.08 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.9811, allocations: 22 kB / 1.275 GB, free: 33.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003194/0.9843, allocations: 2.065 MB / 1.277 GB, free: 32.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9844, allocations: 0 / 1.277 GB, free: 32.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002362/0.9867, allocations: 0.6863 MB / 1.277 GB, free: 32.26 MB / 0.9981 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 (23): * Single equations (assignments): 23 * 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.002591/0.9893, allocations: 1.665 MB / 1.279 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00452/0.9939, allocations: 2.764 MB / 1.282 GB, free: 30.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9939, allocations: 1.188 kB / 1.282 GB, free: 30.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.9946, allocations: 298.8 kB / 1.282 GB, free: 30.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.9976, allocations: 0.9095 MB / 1.283 GB, free: 30.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/1.031, allocations: 19.39 MB / 1.302 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/1.033, allocations: 1.42 MB / 1.303 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002184/1.035, allocations: 0.5302 MB / 1.304 GB, free: 21.45 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/1.036, allocations: 0.6576 MB / 1.304 GB, free: 20.95 MB / 0.9981 GB Notification: Performance of SimCode: time 1.363e-06/1.036, allocations: 4 kB / 1.304 GB, free: 20.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.136, allocations: 55.7 MB / 1.359 GB, free: 8.176 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.56, allocations: 2.188 kB / 1.359 GB, free: 8.176 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches