Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.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.Examples.MoverParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008235/0.008235, allocations: 102.6 kB / 15.73 MB, free: 5.902 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.002452/0.002452, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.916/2.916, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 71.88 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverParameter): time 0.8419/1.209, allocations: 75.53 MB / 1.281 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04621/1.255, allocations: 26.06 MB / 1.307 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007364/1.263, allocations: 121.7 kB / 1.307 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01001/1.273, allocations: 2.594 MB / 1.31 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01612/1.289, allocations: 3.903 MB / 1.313 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.01182/1.301, allocations: 3.153 MB / 1.316 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0548/1.356, allocations: 27.31 MB / 1.343 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007346/1.363, allocations: 2.649 MB / 1.346 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/1.374, allocations: 3.128 MB / 1.349 GB, free: 15.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006196/1.38, allocations: 2.389 MB / 1.351 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00175/1.382, allocations: 348.4 kB / 1.351 GB, free: 13.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008527/1.39, allocations: 2.525 MB / 1.354 GB, free: 12.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00288/1.393, allocations: 1.664 MB / 1.356 GB, free: 11.4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006418/1.4, allocations: 2.471 MB / 1.358 GB, free: 9.684 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01623/1.416, allocations: 7.469 MB / 1.365 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.416, allocations: 0 / 1.365 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.254e-06/1.416, allocations: 2.438 kB / 1.365 GB, free: 4.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002789/1.416, allocations: 0 / 1.365 GB, free: 4.574 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.017/1.433, allocations: 5.486 MB / 1.371 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.433, allocations: 16.62 kB / 1.371 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009151/1.443, allocations: 1.5 MB / 1.372 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0169/1.459, allocations: 7.214 MB / 1.379 GB, free: 7.707 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/1.46, allocations: 130.9 kB / 1.379 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007085/1.46, allocations: 172 kB / 1.379 GB, free: 7.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006481/1.467, allocations: 2.51 MB / 1.382 GB, free: 4.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/1.467, allocations: 3.938 kB / 1.382 GB, free: 4.812 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/1.467, allocations: 64 kB / 1.382 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/1.467, allocations: 36 kB / 1.382 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/1.473, allocations: 1.974 MB / 1.384 GB, free: 2.734 MB / 1.061 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.02151/1.495, allocations: 10.75 MB / 1.394 GB, free: 7.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/1.499, allocations: 1.495 MB / 1.396 GB, free: 6 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/1.501, allocations: 0.6662 MB / 1.396 GB, free: 5.332 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009297/1.51, allocations: 4.426 MB / 1.401 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.51, allocations: 39.11 kB / 1.401 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of pre-optimization done (n=57): time 2.916e-06/1.51, allocations: 0 / 1.401 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of matching and sorting (n=57): time 0.006853/1.517, allocations: 2.2 MB / 1.403 GB, free: 14.38 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.517, allocations: 55.97 kB / 1.403 GB, free: 14.31 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/1.53, allocations: 5.585 MB / 1.409 GB, free: 8.75 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004186/1.531, allocations: 53.62 kB / 1.409 GB, free: 8.691 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002688/1.533, allocations: 1.962 MB / 1.41 GB, free: 6.715 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006106/1.534, allocations: 225.1 kB / 1.411 GB, free: 6.492 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001996/1.536, allocations: 0.6891 MB / 1.411 GB, free: 5.793 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.536, allocations: 313 kB / 1.412 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003426/1.54, allocations: 1.996 MB / 1.414 GB, free: 3.477 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/1.544, allocations: 2.93 MB / 1.416 GB, free: 164 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006859/1.551, allocations: 4.534 MB / 1.421 GB, free: 11.29 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/1.551, allocations: 8 kB / 1.421 GB, free: 11.29 MB / 1.107 GB Notification: Performance of matching and sorting (n=394) (initialization): time 0.009636/1.561, allocations: 5.284 MB / 1.426 GB, free: 5.984 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.561, allocations: 21.81 kB / 1.426 GB, free: 5.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/1.561, allocations: 24.59 kB / 1.426 GB, free: 5.941 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.73e-05/1.561, allocations: 40 kB / 1.426 GB, free: 5.902 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003206/1.564, allocations: 0.6358 MB / 1.427 GB, free: 5.266 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.567, allocations: 2.386 MB / 1.429 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00425/1.571, allocations: 441.3 kB / 1.43 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/1.571, allocations: 159.9 kB / 1.43 GB, free: 2.219 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005093/1.576, allocations: 2.789 MB / 1.432 GB, free: 15.42 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003727/1.58, allocations: 2.715 MB / 1.435 GB, free: 12.32 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006115/1.586, allocations: 4.098 MB / 1.439 GB, free: 7.891 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.681e-05/1.586, allocations: 8 kB / 1.439 GB, free: 7.883 MB / 1.123 GB Notification: Performance of matching and sorting (n=394) (initialization_lambda0): time 0.009123/1.595, allocations: 4.858 MB / 1.444 GB, free: 3.012 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.595, allocations: 16 kB / 1.444 GB, free: 2.996 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/1.595, allocations: 24 kB / 1.444 GB, free: 2.973 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/1.595, allocations: 36.59 kB / 1.444 GB, free: 2.938 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/1.598, allocations: 0.6514 MB / 1.445 GB, free: 2.285 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.424e-05/1.598, allocations: 55.8 kB / 1.445 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.603, allocations: 358.5 kB / 1.445 GB, free: 1.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/1.603, allocations: 148 kB / 1.445 GB, free: 1.734 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (277): * Single equations (assignments): 268 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006964/1.604, allocations: 319.4 kB / 1.445 GB, free: 1.414 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009282/1.605, allocations: 410.5 kB / 1.446 GB, free: 1.008 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005674/1.61, allocations: 2.089 MB / 1.448 GB, free: 14.91 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/1.61, allocations: 12 kB / 1.448 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.61, allocations: 4 kB / 1.448 GB, free: 14.89 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.61, allocations: 7.922 kB / 1.448 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.621, allocations: 4.643 MB / 1.452 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.621, allocations: 4 kB / 1.452 GB, free: 10.14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.623, allocations: 227.7 kB / 1.453 GB, free: 9.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/1.623, allocations: 112.8 kB / 1.453 GB, free: 9.809 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/1.623, allocations: 31.97 kB / 1.453 GB, free: 9.777 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/1.625, allocations: 2.158 MB / 1.455 GB, free: 7.547 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.625, allocations: 4 kB / 1.455 GB, free: 7.543 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005464/1.63, allocations: 2.063 MB / 1.457 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.633, allocations: 0.7061 MB / 1.458 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/1.633, allocations: 12 kB / 1.458 GB, free: 4.684 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.635, allocations: 143.8 kB / 1.458 GB, free: 4.543 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.635, allocations: 52.38 kB / 1.458 GB, free: 4.492 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.635, allocations: 55.95 kB / 1.458 GB, free: 4.438 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.006864/1.642, allocations: 3.804 MB / 1.461 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of sort global known variables: time 5.41e-07/1.642, allocations: 4 kB / 1.461 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.006354/1.649, allocations: 1.724 MB / 1.463 GB, free: 14.93 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (75): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/1.65, allocations: 0.7093 MB / 1.464 GB, free: 14.21 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.662, allocations: 5.573 MB / 1.469 GB, free: 8.648 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.662, allocations: 7.938 kB / 1.469 GB, free: 8.641 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.664, allocations: 0.7462 MB / 1.47 GB, free: 7.895 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00961/1.673, allocations: 2.268 MB / 1.472 GB, free: 5.691 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.685, allocations: 7.021 MB / 1.479 GB, free: 14.62 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/1.688, allocations: 2.544 MB / 1.482 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.004626/1.692, allocations: 1.175 MB / 1.483 GB, free: 10.87 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/1.693, allocations: 323.3 kB / 1.483 GB, free: 10.55 MB / 1.17 GB Notification: Performance of SimCode: time 8.42e-07/1.693, allocations: 0 / 1.483 GB, free: 10.55 MB / 1.17 GB Notification: Performance of Templates: time 0.1442/1.838, allocations: 87.04 MB / 1.568 GB, free: 4.473 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_MoverParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches