Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001544/0.001544, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001768/0.001768, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.09 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05719/0.3788, allocations: 57.81 MB / 1.008 GB, free: 14.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02555/0.4044, allocations: 17.89 MB / 1.025 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.4075, allocations: 83.5 kB / 1.025 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.4109, allocations: 1.165 MB / 1.026 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.008241/0.4192, allocations: 2.678 MB / 1.029 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.4251, allocations: 2.249 MB / 1.031 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007182/0.4323, allocations: 4.773 MB / 1.036 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.4352, allocations: 1.768 MB / 1.037 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.4396, allocations: 1.963 MB / 1.039 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.4417, allocations: 1.416 MB / 1.041 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.442, allocations: 192 kB / 1.041 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003672/0.4457, allocations: 2.008 MB / 1.043 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006006/0.4463, allocations: 0.5997 MB / 1.043 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.4475, allocations: 1.08 MB / 1.045 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.4522, allocations: 3.65 MB / 1.048 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4522, allocations: 3.938 kB / 1.048 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4522, allocations: 0 / 1.048 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.4523, allocations: 0 / 1.048 GB, free: 4.426 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004143/0.4564, allocations: 2.505 MB / 1.051 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4565, allocations: 8.031 kB / 1.051 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.4607, allocations: 0.7437 MB / 1.051 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005213/0.4659, allocations: 1.988 MB / 1.053 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.4661, allocations: 86.06 kB / 1.053 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.4664, allocations: 112 kB / 1.053 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.4693, allocations: 1.331 MB / 1.055 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.4694, allocations: 4 kB / 1.055 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.4695, allocations: 43.98 kB / 1.055 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.4695, allocations: 24 kB / 1.055 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.4723, allocations: 1.066 MB / 1.056 GB, free: 12.33 MB / 0.8419 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.008715/0.481, allocations: 6.074 MB / 1.062 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.4835, allocations: 0.8325 MB / 1.063 GB, free: 5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.4845, allocations: 410.3 kB / 1.063 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003415/0.4879, allocations: 2.493 MB / 1.065 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.488, allocations: 43.06 kB / 1.065 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=56): time 2.434e-06/0.488, allocations: 4 kB / 1.065 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=56): time 0.004172/0.4922, allocations: 1.369 MB / 1.067 GB, free: 368 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4922, allocations: 59.97 kB / 1.067 GB, free: 296 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.4945, allocations: 1.591 MB / 1.068 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.4946, allocations: 41.7 kB / 1.068 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.4952, allocations: 0.823 MB / 1.069 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.4954, allocations: 197.1 kB / 1.069 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.4958, allocations: 222.4 kB / 1.07 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4959, allocations: 334 kB / 1.07 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.497, allocations: 480.5 kB / 1.07 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.4984, allocations: 0.7789 MB / 1.071 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.5009, allocations: 1.174 MB / 1.072 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.5009, allocations: 8 kB / 1.072 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003493/0.5044, allocations: 1.442 MB / 1.074 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.5044, allocations: 8 kB / 1.074 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5045, allocations: 8 kB / 1.074 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.5049, allocations: 112.8 kB / 1.074 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.506, allocations: 228.1 kB / 1.074 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000513/0.5065, allocations: 0.6186 MB / 1.075 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5079, allocations: 146.9 kB / 1.075 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.508, allocations: 68.03 kB / 1.075 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001515/0.5095, allocations: 0.7283 MB / 1.076 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001192/0.5107, allocations: 0.7158 MB / 1.076 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002044/0.5128, allocations: 1.053 MB / 1.077 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.5128, allocations: 0 / 1.077 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.003254/0.5161, allocations: 1.314 MB / 1.079 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5161, allocations: 15.92 kB / 1.079 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5161, allocations: 8 kB / 1.079 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/0.5167, allocations: 129.2 kB / 1.079 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.5176, allocations: 211.7 kB / 1.079 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.5219, allocations: 2.883 MB / 1.082 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5234, allocations: 107.4 kB / 1.082 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4709/0.9943, allocations: 55.44 kB / 1.082 GB, free: 128.6 MB / 0.8575 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 (98): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0004412/0.9948, allocations: 233.2 kB / 1.082 GB, free: 128.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005002/0.9953, allocations: 166.7 kB / 1.082 GB, free: 128.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.9991, allocations: 1.303 MB / 1.084 GB, free: 128.4 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.9992, allocations: 9.984 kB / 1.084 GB, free: 128.4 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9992, allocations: 3.844 kB / 1.084 GB, free: 128.4 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9992, allocations: 6.297 kB / 1.084 GB, free: 128.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/1.005, allocations: 2.56 MB / 1.086 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.005, allocations: 1.469 kB / 1.086 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/1.006, allocations: 152.8 kB / 1.086 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002626/1.006, allocations: 70.47 kB / 1.086 GB, free: 127.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/1.006, allocations: 27.22 kB / 1.086 GB, free: 127.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003388/1.006, allocations: 0.5972 MB / 1.087 GB, free: 127 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.006, allocations: 6.938 kB / 1.087 GB, free: 127 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/1.009, allocations: 1.258 MB / 1.088 GB, free: 126.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/1.01, allocations: 350.8 kB / 1.088 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.01, allocations: 17.62 kB / 1.089 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/1.011, allocations: 61 kB / 1.089 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/1.011, allocations: 50.47 kB / 1.089 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/1.011, allocations: 35.48 kB / 1.089 GB, free: 126.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001916/1.013, allocations: 1.082 MB / 1.09 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.013, allocations: 3.938 kB / 1.09 GB, free: 125.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003189/1.016, allocations: 0.9373 MB / 1.091 GB, free: 125.7 MB / 0.8575 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 (67): * Single equations (assignments): 58 * 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.001621/1.018, allocations: 0.607 MB / 1.091 GB, free: 125.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004502/1.023, allocations: 1.776 MB / 1.093 GB, free: 125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.023, allocations: 0 / 1.093 GB, free: 125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/1.024, allocations: 491.7 kB / 1.093 GB, free: 124.9 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.027, allocations: 0.8378 MB / 1.094 GB, free: 124.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/1.032, allocations: 2.85 MB / 1.097 GB, free: 123.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/1.033, allocations: 1.386 MB / 1.098 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002032/1.035, allocations: 460.5 kB / 1.099 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.036, allocations: 144.5 kB / 1.099 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/1.036, allocations: 1.719 kB / 1.099 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.07283/1.109, allocations: 37.86 MB / 1.136 GB, free: 108.3 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches