Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00737/0.00737, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.001582/0.001582, allocations: 204.5 kB / 16.79 MB, free: 6.215 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.78 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002056/0.3074, allocations: 0.5996 MB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3087, allocations: 0.6621 MB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.3088, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.3088, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.3088, allocations: 0 / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006689/0.3095, allocations: 131.7 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.3096, allocations: 7.984 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3096, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.3096, allocations: 7.938 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.241e-05/0.3097, allocations: 4 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.3097, allocations: 0 / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004265/0.3101, allocations: 211.7 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.3101, allocations: 4 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.3102, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3104, allocations: 83.81 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3104, allocations: 3.984 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.876e-06/0.3104, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.3104, allocations: 3.938 kB / 1.054 GB, free: 6.578 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004166/0.3109, allocations: 349.1 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3109, allocations: 8.031 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3109, allocations: 4.938 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3111, allocations: 160.4 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3111, allocations: 4.375 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3111, allocations: 4.375 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3112, allocations: 34.25 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3112, allocations: 192 / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3113, allocations: 7.938 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3113, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.3113, allocations: 11.98 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.3116, allocations: 145.7 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.489e-05/0.3117, allocations: 38.55 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.3117, allocations: 12.86 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009472/0.3127, allocations: 0.6844 MB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3127, allocations: 34.56 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3128, allocations: 0 / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.3129, allocations: 53.5 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.313, allocations: 55.41 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.313, allocations: 93.8 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.313, allocations: 25.7 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.3131, allocations: 84.14 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.3131, allocations: 16.11 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3132, allocations: 21.72 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3133, allocations: 310.8 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.3133, allocations: 4 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.3133, allocations: 21.7 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.088e-05/0.3134, allocations: 29.66 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3134, allocations: 0 / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.3135, allocations: 53.59 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3135, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3135, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3135, allocations: 4.266 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.639e-05/0.3136, allocations: 11.94 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3136, allocations: 3.984 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.3136, allocations: 4 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3136, allocations: 3.984 kB / 1.057 GB, free: 3.93 MB / 0.8106 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 (4): * Single equations (assignments): 4 * 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 7.013e-05/0.3137, allocations: 113.9 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3137, allocations: 3.984 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3138, allocations: 53.12 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3138, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3138, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3138, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.314, allocations: 153.7 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.314, allocations: 0 / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.314, allocations: 7.938 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.314, allocations: 4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.314, allocations: 3.938 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.314, allocations: 4 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3141, allocations: 0 / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3142, allocations: 73.14 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.3142, allocations: 77.11 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3142, allocations: 7.969 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.3143, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.3143, allocations: 8 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.3143, allocations: 3.938 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.3143, allocations: 79.28 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3143, allocations: 0 / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002744/0.3146, allocations: 51.98 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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.0003452/0.315, allocations: 171.2 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.315, allocations: 15.98 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3151, allocations: 4.062 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.3151, allocations: 4 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.3152, allocations: 12.64 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.3155, allocations: 133.3 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3158, allocations: 0.677 MB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.3158, allocations: 7.438 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3158, allocations: 3.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of Templates: time 0.003135/0.3189, allocations: 1.334 MB / 1.06 GB, free: 0.7656 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches