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.001112/0.001112, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001272/0.001272, allocations: 177.3 kB / 15.94 MB, free: 228 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.34/1.34, allocations: 223.2 MB / 239.9 MB, free: 5.258 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.403/2.403, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6876/0.688, allocations: 142.3 MB / 0.9535 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.04851/0.7366, allocations: 48.51 MB / 1.001 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.027/0.7636, allocations: 15.57 MB / 1.016 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003828/0.7675, allocations: 67.5 kB / 1.016 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.7715, allocations: 0.9562 MB / 1.017 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0099/0.7814, allocations: 2.662 MB / 1.02 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007409/0.7889, allocations: 2.315 MB / 1.022 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006874/0.7958, allocations: 2.902 MB / 1.025 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.7988, allocations: 1.316 MB / 1.026 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003725/0.8025, allocations: 1.444 MB / 1.027 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.8045, allocations: 0.9137 MB / 1.028 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.8049, allocations: 68 kB / 1.028 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.8088, allocations: 1.35 MB / 1.03 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008585/0.8097, allocations: 446.4 kB / 1.03 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.8108, allocations: 424.6 kB / 1.031 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005908/0.8167, allocations: 2.549 MB / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8167, allocations: 0 / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8168, allocations: 0 / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.781e-05/0.8169, allocations: 0 / 1.033 GB, free: 14.54 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.005046/0.8219, allocations: 2.139 MB / 1.035 GB, free: 12.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.822, allocations: 8.031 kB / 1.035 GB, free: 12.33 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/0.8263, allocations: 0.8013 MB / 1.036 GB, free: 11.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005159/0.8315, allocations: 1.93 MB / 1.038 GB, free: 9.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.8317, allocations: 86.06 kB / 1.038 GB, free: 9.457 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.8319, allocations: 116 kB / 1.038 GB, free: 9.344 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.8346, allocations: 1.313 MB / 1.039 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.8346, allocations: 0 / 1.039 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.8348, allocations: 44 kB / 1.039 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.8348, allocations: 31.89 kB / 1.039 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.8375, allocations: 1.062 MB / 1.04 GB, free: 6.828 MB / 0.795 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.00888/0.8463, allocations: 5.934 MB / 1.046 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.8488, allocations: 0.8545 MB / 1.047 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003427/0.8523, allocations: 2.524 MB / 1.05 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.8523, allocations: 43.11 kB / 1.05 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000521/0.8529, allocations: 83.2 kB / 1.05 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=58): time 4.739e-06/0.8529, allocations: 3.984 kB / 1.05 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58): time 0.004007/0.8569, allocations: 1.397 MB / 1.051 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.8569, allocations: 59.91 kB / 1.051 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.859, allocations: 1.568 MB / 1.053 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.8592, allocations: 45.7 kB / 1.053 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.8598, allocations: 0.827 MB / 1.053 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.86, allocations: 201 kB / 1.054 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.8601, allocations: 16 kB / 1.054 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8602, allocations: 337.9 kB / 1.054 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.8613, allocations: 397.7 kB / 1.054 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.8625, allocations: 0.7086 MB / 1.055 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8637, allocations: 473.8 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.8637, allocations: 0 / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00314/0.8668, allocations: 1.286 MB / 1.057 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/0.8682, allocations: 3.359 MB / 1.06 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.8682, allocations: 8 kB / 1.06 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/0.8686, allocations: 72.81 kB / 1.06 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.8697, allocations: 251.6 kB / 1.06 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006447/0.8704, allocations: 0.6147 MB / 1.061 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.8719, allocations: 115.9 kB / 1.061 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.8721, allocations: 67.95 kB / 1.061 GB, free: 380 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8721, allocations: 9.094 kB / 1.061 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002981/0.8751, allocations: 1.15 MB / 1.062 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.8751, allocations: 11.95 kB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005656/0.8757, allocations: 129.1 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/0.8766, allocations: 219.7 kB / 1.063 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.8811, allocations: 2.685 MB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.8827, allocations: 115.8 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.883, allocations: 59.97 kB / 1.065 GB, free: 11.78 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.001119/0.8841, allocations: 484.8 kB / 1.066 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.8846, allocations: 173.8 kB / 1.066 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.8883, allocations: 1.331 MB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.8884, allocations: 11.98 kB / 1.067 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8884, allocations: 0 / 1.067 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.8884, allocations: 3.984 kB / 1.067 GB, free: 9.762 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.006698/0.8951, allocations: 2.675 MB / 1.07 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.8951, allocations: 4 kB / 1.07 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.8959, allocations: 151.8 kB / 1.07 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.8963, allocations: 80.69 kB / 1.07 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.301e-05/0.8964, allocations: 31.97 kB / 1.07 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005015/0.8969, allocations: 0.5953 MB / 1.071 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.8969, allocations: 64 / 1.071 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.8999, allocations: 1.385 MB / 1.072 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009273/0.9008, allocations: 354.6 kB / 1.072 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/0.9012, allocations: 16 kB / 1.072 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.9024, allocations: 107.8 kB / 1.073 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9026, allocations: 60.42 kB / 1.073 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.9027, allocations: 43.91 kB / 1.073 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002091/0.9048, allocations: 1.062 MB / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9048, allocations: 0 / 1.074 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003661/0.9084, allocations: 0.9512 MB / 1.075 GB, free: 1.945 MB / 0.8262 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.00185/0.9103, allocations: 0.6031 MB / 1.075 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004479/0.9148, allocations: 1.691 MB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9148, allocations: 1.5 kB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.916, allocations: 495.4 kB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/0.9199, allocations: 0.7898 MB / 1.078 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006343/0.9262, allocations: 3.428 MB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.9276, allocations: 1.432 MB / 1.083 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002239/0.9298, allocations: 473.5 kB / 1.083 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.9303, allocations: 151.4 kB / 1.083 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.9303, allocations: 0 / 1.083 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.06015/0.9905, allocations: 35.84 MB / 1.118 GB, free: 5.43 MB / 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","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches