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.001235/0.001235, allocations: 84.38 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.001513/0.001512, 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.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.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.473/2.473, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 12 kB / 0.8154 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7128, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05502/0.7679, allocations: 53.23 MB / 1.006 GB, free: 10.17 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02754/0.7955, allocations: 16.79 MB / 1.023 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003713/0.7993, allocations: 71.5 kB / 1.023 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.8027, allocations: 0.7529 MB / 1.024 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007337/0.8101, allocations: 2.152 MB / 1.026 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005246/0.8154, allocations: 1.682 MB / 1.027 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007701/0.8231, allocations: 5.411 MB / 1.033 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/0.826, allocations: 1.304 MB / 1.034 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.8305, allocations: 1.575 MB / 1.035 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.8334, allocations: 1.299 MB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006492/0.834, allocations: 72 kB / 1.037 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.8383, allocations: 1.478 MB / 1.038 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.8393, allocations: 482.2 kB / 1.039 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.8404, allocations: 412.6 kB / 1.039 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.8446, allocations: 2.626 MB / 1.042 GB, free: 5.984 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8446, allocations: 0 / 1.042 GB, free: 5.984 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8446, allocations: 0 / 1.042 GB, free: 5.984 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.996e-05/0.8447, allocations: 0 / 1.042 GB, free: 5.984 MB / 0.795 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.004638/0.8493, allocations: 2.163 MB / 1.044 GB, free: 3.762 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8494, allocations: 12.03 kB / 1.044 GB, free: 3.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.8537, allocations: 0.8013 MB / 1.045 GB, free: 2.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.8591, allocations: 1.918 MB / 1.046 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.8593, allocations: 94.05 kB / 1.047 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.8597, allocations: 115.9 kB / 1.047 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.863, allocations: 1.325 MB / 1.048 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.863, allocations: 4 kB / 1.048 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.8632, allocations: 44 kB / 1.048 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.8632, allocations: 31.94 kB / 1.048 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/0.8661, allocations: 1.077 MB / 1.049 GB, free: 14.22 MB / 0.8106 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.01017/0.8763, allocations: 5.967 MB / 1.055 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.8787, allocations: 0.8639 MB / 1.056 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.8797, allocations: 431.4 kB / 1.056 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003674/0.8834, allocations: 2.536 MB / 1.059 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.8835, allocations: 43.11 kB / 1.059 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006287/0.8841, allocations: 79.22 kB / 1.059 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 3.818e-06/0.8841, allocations: 0 / 1.059 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.004057/0.8882, allocations: 1.424 MB / 1.06 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.8882, allocations: 59.91 kB / 1.06 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.8906, allocations: 1.556 MB / 1.062 GB, free: 484 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.8907, allocations: 45.64 kB / 1.062 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/0.8915, allocations: 0.8231 MB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.8917, allocations: 201.1 kB / 1.063 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.8918, allocations: 19.98 kB / 1.063 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8919, allocations: 338 kB / 1.063 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.893, allocations: 405.7 kB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.8942, allocations: 0.7207 MB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.8954, allocations: 477.8 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.8954, allocations: 11.95 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003131/0.8986, allocations: 1.31 MB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000284/0.8989, allocations: 334.2 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.8989, allocations: 8 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004632/0.8994, allocations: 84.73 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.9004, allocations: 239.6 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005521/0.901, allocations: 0.6109 MB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.9025, allocations: 123.8 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.9027, allocations: 63.97 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9027, allocations: 10.12 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002679/0.9054, allocations: 1.166 MB / 1.068 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.9054, allocations: 8.375 kB / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.9059, allocations: 132.8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.9068, allocations: 227.7 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.9109, allocations: 2.588 MB / 1.071 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.9123, allocations: 111.9 kB / 1.071 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.9124, allocations: 59.97 kB / 1.072 GB, free: 5.891 MB / 0.8262 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009588/0.9134, allocations: 486.3 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003964/0.9138, allocations: 181.7 kB / 1.072 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.9171, allocations: 1.342 MB / 1.073 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.9172, allocations: 11.98 kB / 1.073 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.9172, allocations: 0 / 1.073 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.9172, allocations: 3.984 kB / 1.073 GB, free: 3.855 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.005311/0.9225, allocations: 2.594 MB / 1.076 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.9225, allocations: 4 kB / 1.076 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007414/0.9233, allocations: 160 kB / 1.076 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002531/0.9236, allocations: 76.77 kB / 1.076 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.9237, allocations: 31.98 kB / 1.076 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004019/0.9241, allocations: 0.5954 MB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9241, allocations: 3.938 kB / 1.077 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002703/0.9268, allocations: 1.278 MB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007079/0.9275, allocations: 342.6 kB / 1.078 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.9278, allocations: 12 kB / 1.078 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.9289, allocations: 103.8 kB / 1.079 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.929, allocations: 52.42 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/0.9291, allocations: 43.97 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001948/0.9311, allocations: 1.043 MB / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9311, allocations: 0 / 1.08 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003648/0.9347, allocations: 0.9317 MB / 1.081 GB, free: 12.38 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/0.9364, allocations: 0.5719 MB / 1.081 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004701/0.9412, allocations: 1.734 MB / 1.083 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9412, allocations: 5.438 kB / 1.083 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.9426, allocations: 0.4955 MB / 1.083 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/0.9472, allocations: 0.7911 MB / 1.084 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.9538, allocations: 3.456 MB / 1.087 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.9552, allocations: 1.389 MB / 1.089 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002403/0.9576, allocations: 467.3 kB / 1.089 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.9581, allocations: 143.4 kB / 1.089 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of SimCode: time 9.82e-07/0.9582, allocations: 3.938 kB / 1.089 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of Templates: time 0.06261/1.021, allocations: 35.38 MB / 1.124 GB, free: 340 kB / 0.8731 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 -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/jenkins/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