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.001029/0.001033, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001316/0.001316, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 12.69 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.0005926/0.26, allocations: 263 kB / 1.058 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009938/0.261, allocations: 0.5963 MB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.2611, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.909e-06/0.2611, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.2611, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.2617, allocations: 127.7 kB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.2617, allocations: 4 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.2618, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.253e-05/0.2618, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.2618, allocations: 12 kB / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.2618, allocations: 0 / 1.059 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003647/0.2622, allocations: 207.6 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.2622, allocations: 4 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.2623, allocations: 25.7 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.2624, allocations: 79.88 kB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2624, allocations: 0 / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2624, allocations: 0 / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2625, allocations: 0 / 1.059 GB, free: 4.031 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.0003116/0.2628, allocations: 359.2 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2628, allocations: 12.03 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.2628, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.2629, allocations: 159.1 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.263, allocations: 4 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.263, allocations: 7.953 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.2631, allocations: 37.67 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2631, allocations: 4 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2631, allocations: 3.938 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2631, allocations: 4 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.2632, allocations: 4 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.2634, allocations: 153.7 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.2635, allocations: 34.55 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.2635, allocations: 8.859 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008553/0.2644, allocations: 0.6844 MB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2644, allocations: 46.48 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.2644, allocations: 0 / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001266/0.2646, allocations: 41.69 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2646, allocations: 59.41 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.085e-05/0.2646, allocations: 89.86 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2647, allocations: 25.7 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.2647, allocations: 80.14 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2647, allocations: 8.125 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.2647, allocations: 4 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2649, allocations: 314.8 kB / 1.061 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.2649, allocations: 3.984 kB / 1.061 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.2649, allocations: 21.72 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.2649, allocations: 7.938 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2649, allocations: 3.938 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.836e-05/0.265, allocations: 53.59 kB / 1.061 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.265, allocations: 7.953 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2651, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2651, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-05/0.2651, allocations: 11.94 kB / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2651, allocations: 3.984 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.2652, allocations: 4.031 kB / 1.061 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2652, allocations: 4 kB / 1.061 GB, free: 1.426 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.2653, allocations: 109.8 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.2653, allocations: 0 / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.877e-05/0.2654, allocations: 53.14 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2654, allocations: 384 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2654, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2654, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2655, allocations: 153.7 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2655, allocations: 4 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.2656, allocations: 11.92 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2656, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.2656, allocations: 4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.2656, allocations: 7.938 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2656, allocations: 3.938 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.2657, allocations: 65.12 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.2658, allocations: 85.02 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2658, allocations: 8.094 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.2658, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.2658, allocations: 7.938 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2659, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.2659, allocations: 75.31 kB / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2659, allocations: 0 / 1.062 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000285/0.2662, allocations: 44 kB / 1.062 GB, free: 0.7031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003412/0.2665, allocations: 187.1 kB / 1.062 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.03e-05/0.2666, allocations: 12 kB / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2666, allocations: 0 / 1.062 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.2666, allocations: 4 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2668, allocations: 7.984 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.267, allocations: 104.8 kB / 1.062 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2673, allocations: 0.6809 MB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.216e-05/0.2673, allocations: 12.05 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.2673, allocations: 7.438 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.2673, allocations: 0 / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of Templates: time 0.003538/0.2709, allocations: 1.214 MB / 1.064 GB, free: 14.42 MB / 0.8262 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/jenkins/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