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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007756/0.007756, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001771/0.001771, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.84 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05761/0.3804, allocations: 57.81 MB / 1.144 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02701/0.4075, allocations: 17.9 MB / 1.162 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003867/0.4114, allocations: 91.5 kB / 1.162 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003698/0.4151, allocations: 1.169 MB / 1.163 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.4235, allocations: 2.786 MB / 1.166 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.43, allocations: 2.257 MB / 1.168 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008112/0.4381, allocations: 4.776 MB / 1.173 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002946/0.4411, allocations: 1.749 MB / 1.174 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.4463, allocations: 2 MB / 1.176 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.4489, allocations: 1.431 MB / 1.178 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.4493, allocations: 184 kB / 1.178 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.4537, allocations: 2.012 MB / 1.18 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008153/0.4546, allocations: 0.6036 MB / 1.18 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.4562, allocations: 1.073 MB / 1.182 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006761/0.463, allocations: 3.675 MB / 1.185 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.463, allocations: 0 / 1.185 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/0.463, allocations: 0 / 1.185 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.55e-05/0.4631, allocations: 4 kB / 1.185 GB, free: 13.61 MB / 0.9512 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.005053/0.4681, allocations: 2.58 MB / 1.188 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4682, allocations: 8.031 kB / 1.188 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.4727, allocations: 0.7605 MB / 1.188 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005128/0.4779, allocations: 1.998 MB / 1.19 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-05/0.478, allocations: 90.06 kB / 1.19 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/0.4783, allocations: 116 kB / 1.191 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.4811, allocations: 1.327 MB / 1.192 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4812, allocations: 0 / 1.192 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4813, allocations: 44 kB / 1.192 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.4813, allocations: 24 kB / 1.192 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.4841, allocations: 1.062 MB / 1.193 GB, free: 5.422 MB / 0.9512 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.008235/0.4923, allocations: 6.103 MB / 1.199 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4948, allocations: 0.8292 MB / 1.2 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4958, allocations: 414.3 kB / 1.2 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003311/0.4992, allocations: 2.493 MB / 1.203 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.4992, allocations: 39.12 kB / 1.203 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=56): time 2.014e-06/0.4992, allocations: 0 / 1.203 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56): time 0.004277/0.5035, allocations: 1.382 MB / 1.204 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5036, allocations: 59.97 kB / 1.204 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.5057, allocations: 1.595 MB / 1.206 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.5058, allocations: 41.7 kB / 1.206 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006795/0.5065, allocations: 0.836 MB / 1.206 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.5067, allocations: 198.3 kB / 1.207 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/0.5071, allocations: 214.5 kB / 1.207 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5072, allocations: 337.9 kB / 1.207 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5084, allocations: 476.5 kB / 1.208 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.51, allocations: 0.7753 MB / 1.208 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.5125, allocations: 1.186 MB / 1.209 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.5126, allocations: 0 / 1.209 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00365/0.5162, allocations: 1.459 MB / 1.211 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5163, allocations: 8 kB / 1.211 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.5163, allocations: 8 kB / 1.211 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.5168, allocations: 101.2 kB / 1.211 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.5178, allocations: 231.6 kB / 1.211 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/0.5184, allocations: 0.6187 MB / 1.212 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5198, allocations: 155.2 kB / 1.212 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.52, allocations: 67.95 kB / 1.212 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001671/0.5217, allocations: 0.7282 MB / 1.213 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001313/0.523, allocations: 0.7197 MB / 1.213 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002148/0.5251, allocations: 1.053 MB / 1.214 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/0.5252, allocations: 4 kB / 1.214 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.003355/0.5285, allocations: 1.322 MB / 1.216 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5286, allocations: 14.12 kB / 1.216 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5286, allocations: 8 kB / 1.216 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.5291, allocations: 125.2 kB / 1.216 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.5301, allocations: 227.7 kB / 1.216 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.5345, allocations: 2.871 MB / 1.219 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5359, allocations: 115.5 kB / 1.219 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.5361, allocations: 59.97 kB / 1.219 GB, free: 8.977 MB / 0.9825 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.0003554/0.5365, allocations: 244 kB / 1.219 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004661/0.537, allocations: 174.8 kB / 1.219 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/0.5405, allocations: 1.304 MB / 1.221 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5405, allocations: 15.98 kB / 1.221 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5406, allocations: 0 / 1.221 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5406, allocations: 3.984 kB / 1.221 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005799/0.5464, allocations: 2.542 MB / 1.223 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.5464, allocations: 4.25 kB / 1.223 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007962/0.5472, allocations: 155.8 kB / 1.223 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.5475, allocations: 64.83 kB / 1.223 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.5476, allocations: 31.91 kB / 1.224 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004271/0.548, allocations: 0.603 MB / 1.224 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/0.548, allocations: 7.938 kB / 1.224 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.5511, allocations: 1.267 MB / 1.225 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007581/0.5518, allocations: 355.6 kB / 1.226 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003524/0.5522, allocations: 16 kB / 1.226 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.5532, allocations: 63.88 kB / 1.226 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5533, allocations: 48.5 kB / 1.226 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/0.5534, allocations: 39.95 kB / 1.226 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00195/0.5554, allocations: 1.085 MB / 1.227 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5554, allocations: 0 / 1.227 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003225/0.5586, allocations: 0.9509 MB / 1.228 GB, free: 15.79 MB / 0.9981 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.001884/0.5605, allocations: 0.6096 MB / 1.228 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004834/0.5654, allocations: 1.771 MB / 1.23 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5654, allocations: 0 / 1.23 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.5667, allocations: 491.5 kB / 1.231 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/0.5708, allocations: 0.8432 MB / 1.231 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/0.5765, allocations: 2.912 MB / 1.234 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.5778, allocations: 1.389 MB / 1.236 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001853/0.5797, allocations: 456.9 kB / 1.236 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.5801, allocations: 143.4 kB / 1.236 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/0.5801, allocations: 0 / 1.236 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of Templates: time 0.617/1.197, allocations: 38.05 MB / 1.273 GB, free: 154.5 MB / 1.014 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