Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004957/0.004957, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001153/0.001154, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 64.11 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4088, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.8856/1.294, allocations: 58.56 MB / 1.265 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05119/1.346, allocations: 19.94 MB / 1.284 GB, free: 0 / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006502/1.352, allocations: 88.95 kB / 1.284 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/1.363, allocations: 1.992 MB / 1.286 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01848/1.382, allocations: 2.948 MB / 1.289 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/1.395, allocations: 2.355 MB / 1.292 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.04319/1.438, allocations: 14.42 MB / 1.306 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/1.444, allocations: 1.815 MB / 1.307 GB, free: 8.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009758/1.454, allocations: 2.127 MB / 1.31 GB, free: 7.355 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0059/1.46, allocations: 1.574 MB / 1.311 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001457/1.462, allocations: 212.3 kB / 1.311 GB, free: 6.605 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008407/1.47, allocations: 2.341 MB / 1.314 GB, free: 5.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/1.472, allocations: 0.897 MB / 1.314 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004435/1.477, allocations: 1.414 MB / 1.316 GB, free: 4.523 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/1.489, allocations: 4.679 MB / 1.32 GB, free: 2.758 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.489, allocations: 1.094 kB / 1.32 GB, free: 2.758 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.489, allocations: 3.938 kB / 1.32 GB, free: 2.754 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001771/1.489, allocations: 0 / 1.32 GB, free: 2.754 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.01238/1.502, allocations: 3.264 MB / 1.324 GB, free: 0.625 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.502, allocations: 9.156 kB / 1.324 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/1.508, allocations: 0.9328 MB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/1.519, allocations: 3.575 MB / 1.328 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/1.519, allocations: 92.25 kB / 1.328 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005135/1.519, allocations: 121.1 kB / 1.328 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/1.523, allocations: 1.515 MB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.523, allocations: 1.531 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/1.523, allocations: 41.44 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/1.523, allocations: 30.25 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003842/1.527, allocations: 1.332 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/1.542, allocations: 7.159 MB / 1.338 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/1.545, allocations: 1.019 MB / 1.339 GB, free: 6.336 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.546, allocations: 0.4974 MB / 1.34 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005721/1.552, allocations: 3.025 MB / 1.342 GB, free: 3.402 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.552, allocations: 37.62 kB / 1.343 GB, free: 3.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=58): time 2.214e-06/1.552, allocations: 0 / 1.343 GB, free: 3.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=58): time 0.005468/1.557, allocations: 1.709 MB / 1.344 GB, free: 2.488 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/1.557, allocations: 58.84 kB / 1.344 GB, free: 2.426 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00497/1.562, allocations: 2.66 MB / 1.347 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002906/1.563, allocations: 44.58 kB / 1.347 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.564, allocations: 1.052 MB / 1.348 GB, free: 16 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003295/1.564, allocations: 222.7 kB / 1.348 GB, free: 15.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/1.565, allocations: 437.3 kB / 1.349 GB, free: 15.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.565, allocations: 310.4 kB / 1.349 GB, free: 15.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/1.567, allocations: 1.146 MB / 1.35 GB, free: 14.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/1.57, allocations: 1.561 MB / 1.351 GB, free: 13.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/1.574, allocations: 2.461 MB / 1.354 GB, free: 12.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.574, allocations: 1.406 kB / 1.354 GB, free: 12.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005998/1.58, allocations: 3.05 MB / 1.357 GB, free: 10.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.58, allocations: 8.656 kB / 1.357 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.58, allocations: 8 kB / 1.357 GB, free: 10.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/1.581, allocations: 107.8 kB / 1.357 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.582, allocations: 350.1 kB / 1.357 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007782/1.583, allocations: 0.6181 MB / 1.358 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.586, allocations: 231.5 kB / 1.358 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/1.586, allocations: 103.6 kB / 1.358 GB, free: 9.926 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003064/1.589, allocations: 1.509 MB / 1.36 GB, free: 9.098 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002147/1.592, allocations: 1.377 MB / 1.361 GB, free: 8.145 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003594/1.595, allocations: 2.08 MB / 1.363 GB, free: 6.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.001e-06/1.595, allocations: 4 kB / 1.363 GB, free: 6.703 MB / 1.045 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005767/1.601, allocations: 2.678 MB / 1.366 GB, free: 4.012 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.601, allocations: 8 kB / 1.366 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/1.601, allocations: 15.94 kB / 1.366 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/1.602, allocations: 125.2 kB / 1.366 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/1.603, allocations: 335.5 kB / 1.366 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004539/1.607, allocations: 2.825 MB / 1.369 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.61, allocations: 183 kB / 1.369 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.61, allocations: 83.97 kB / 1.369 GB, free: 240 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005907/1.611, allocations: 256 kB / 1.369 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.612, allocations: 240.7 kB / 1.37 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004539/1.616, allocations: 1.586 MB / 1.371 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.616, allocations: 11.98 kB / 1.371 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.616, allocations: 0 / 1.371 GB, free: 14.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.616, allocations: 7.922 kB / 1.371 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007829/1.624, allocations: 3.148 MB / 1.374 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.624, allocations: 4.25 kB / 1.374 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000952/1.625, allocations: 171.7 kB / 1.374 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/1.626, allocations: 72.83 kB / 1.375 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/1.626, allocations: 27.97 kB / 1.375 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004558/1.626, allocations: 0.6069 MB / 1.375 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.626, allocations: 0 / 1.375 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003779/1.63, allocations: 1.532 MB / 1.377 GB, free: 8.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.631, allocations: 445.5 kB / 1.377 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006477/1.632, allocations: 12 kB / 1.377 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.633, allocations: 83.84 kB / 1.377 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.634, allocations: 60.38 kB / 1.377 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.634, allocations: 51.95 kB / 1.377 GB, free: 7.734 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003447/1.637, allocations: 1.773 MB / 1.379 GB, free: 5.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.2e-07/1.637, allocations: 0 / 1.379 GB, free: 5.961 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004519/1.642, allocations: 1.248 MB / 1.38 GB, free: 4.711 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001939/1.644, allocations: 0.7681 MB / 1.381 GB, free: 3.941 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007155/1.651, allocations: 3.475 MB / 1.384 GB, free: 476 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.651, allocations: 4 kB / 1.384 GB, free: 472 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/1.652, allocations: 0.5855 MB / 1.385 GB, free: 15.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.658, allocations: 1.235 MB / 1.386 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/1.666, allocations: 4.087 MB / 1.39 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/1.667, allocations: 1.736 MB / 1.392 GB, free: 8.766 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002695/1.67, allocations: 0.7072 MB / 1.393 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005277/1.67, allocations: 199.3 kB / 1.393 GB, free: 7.863 MB / 1.076 GB Notification: Performance of SimCode: time 1.312e-06/1.67, allocations: 3.938 kB / 1.393 GB, free: 7.859 MB / 1.076 GB Notification: Performance of Templates: time 0.09349/1.764, allocations: 54.65 MB / 1.446 GB, free: 1.742 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches