Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004838/0.004838, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001131/0.001131, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3215, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.07228/0.3938, allocations: 75.64 MB / 1.24 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.771/1.165, allocations: 26.06 MB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006938/1.172, allocations: 126.8 kB / 1.266 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009641/1.182, allocations: 2.631 MB / 1.269 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01502/1.197, allocations: 4.067 MB / 1.273 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01072/1.207, allocations: 3.158 MB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.05183/1.259, allocations: 27.35 MB / 1.302 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/1.265, allocations: 2.668 MB / 1.305 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/1.275, allocations: 3.134 MB / 1.308 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00635/1.282, allocations: 2.403 MB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/1.283, allocations: 351.2 kB / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008972/1.292, allocations: 2.523 MB / 1.313 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002798/1.295, allocations: 1.672 MB / 1.315 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007459/1.302, allocations: 2.481 MB / 1.317 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01794/1.32, allocations: 7.52 MB / 1.325 GB, free: 8.066 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/1.321, allocations: 3.984 kB / 1.325 GB, free: 8.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.374e-06/1.321, allocations: 0 / 1.325 GB, free: 8.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003902/1.321, allocations: 0 / 1.325 GB, free: 8.062 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01984/1.341, allocations: 5.678 MB / 1.33 GB, free: 3.938 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/1.341, allocations: 17.61 kB / 1.33 GB, free: 3.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009292/1.35, allocations: 1.535 MB / 1.332 GB, free: 3.219 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/1.367, allocations: 7.263 MB / 1.339 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/1.367, allocations: 133.6 kB / 1.339 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005389/1.367, allocations: 172.7 kB / 1.339 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/1.373, allocations: 2.535 MB / 1.342 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.373, allocations: 2.469 kB / 1.342 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/1.373, allocations: 61.91 kB / 1.342 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/1.373, allocations: 38 kB / 1.342 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/1.378, allocations: 2.016 MB / 1.344 GB, free: 12.09 MB / 1.029 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.01987/1.398, allocations: 10.75 MB / 1.354 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005009/1.403, allocations: 1.669 MB / 1.356 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/1.405, allocations: 0.7484 MB / 1.356 GB, free: 124 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008219/1.413, allocations: 3.965 MB / 1.36 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/1.413, allocations: 47.11 kB / 1.36 GB, free: 11.86 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 3.006e-06/1.413, allocations: 0 / 1.36 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.007862/1.421, allocations: 2.542 MB / 1.363 GB, free: 9.312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.421, allocations: 59.97 kB / 1.363 GB, free: 9.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008987/1.43, allocations: 5.441 MB / 1.368 GB, free: 3.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005123/1.431, allocations: 53.7 kB / 1.368 GB, free: 3.762 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.433, allocations: 1.935 MB / 1.37 GB, free: 1.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/1.433, allocations: 271.4 kB / 1.37 GB, free: 1.578 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00122/1.434, allocations: 0.6747 MB / 1.371 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.435, allocations: 301.1 kB / 1.371 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/1.438, allocations: 2.031 MB / 1.373 GB, free: 14.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/1.443, allocations: 2.871 MB / 1.376 GB, free: 11.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007123/1.45, allocations: 4.528 MB / 1.381 GB, free: 6.559 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/1.45, allocations: 4 kB / 1.381 GB, free: 6.555 MB / 1.061 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01017/1.46, allocations: 5.302 MB / 1.386 GB, free: 1.254 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.46, allocations: 14.81 kB / 1.386 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-05/1.46, allocations: 20 kB / 1.386 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.318e-05/1.46, allocations: 39.94 kB / 1.386 GB, free: 1.184 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/1.464, allocations: 0.6271 MB / 1.386 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.466, allocations: 2.383 MB / 1.389 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/1.47, allocations: 406 kB / 1.389 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/1.471, allocations: 155.9 kB / 1.389 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005273/1.476, allocations: 2.793 MB / 1.392 GB, free: 10.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003663/1.48, allocations: 2.649 MB / 1.395 GB, free: 7.777 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006139/1.486, allocations: 4.081 MB / 1.399 GB, free: 3.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/1.486, allocations: 4 kB / 1.399 GB, free: 3.422 MB / 1.076 GB Notification: Performance of matching and sorting (n=383) (initialization_lambda0): time 0.009015/1.495, allocations: 4.845 MB / 1.403 GB, free: 14.58 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.495, allocations: 16 kB / 1.403 GB, free: 14.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/1.495, allocations: 23.94 kB / 1.403 GB, free: 14.54 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/1.495, allocations: 32.75 kB / 1.403 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.498, allocations: 0.6319 MB / 1.404 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.801e-05/1.498, allocations: 57.61 kB / 1.404 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004164/1.502, allocations: 318.9 kB / 1.404 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/1.502, allocations: 144 kB / 1.405 GB, free: 13.37 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (266): * Single equations (assignments): 257 * 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.0006449/1.503, allocations: 310 kB / 1.405 GB, free: 13.06 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008957/1.504, allocations: 436.9 kB / 1.405 GB, free: 12.63 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/1.51, allocations: 2.313 MB / 1.407 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.51, allocations: 15.98 kB / 1.408 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.51, allocations: 0 / 1.408 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/1.51, allocations: 3.984 kB / 1.408 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.521, allocations: 4.869 MB / 1.412 GB, free: 5.402 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.521, allocations: 0 / 1.412 GB, free: 5.402 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.522, allocations: 275.8 kB / 1.413 GB, free: 5.133 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/1.522, allocations: 104.7 kB / 1.413 GB, free: 5.027 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.523, allocations: 31.97 kB / 1.413 GB, free: 4.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.524, allocations: 2.15 MB / 1.415 GB, free: 2.773 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.524, allocations: 8.312 kB / 1.415 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/1.53, allocations: 2.26 MB / 1.417 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.532, allocations: 0.732 MB / 1.418 GB, free: 15.74 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005215/1.533, allocations: 19.98 kB / 1.418 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/1.535, allocations: 151.8 kB / 1.418 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.535, allocations: 56.86 kB / 1.418 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.535, allocations: 59.94 kB / 1.418 GB, free: 15.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.006056/1.541, allocations: 3.704 MB / 1.422 GB, free: 11.78 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.62e-07/1.541, allocations: 0 / 1.422 GB, free: 11.78 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.005926/1.547, allocations: 1.751 MB / 1.423 GB, free: 10.02 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (86): * Single equations (assignments): 75 * 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.001911/1.549, allocations: 0.7162 MB / 1.424 GB, free: 9.344 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.561, allocations: 5.691 MB / 1.43 GB, free: 3.68 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.561, allocations: 0 / 1.43 GB, free: 3.68 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002462/1.563, allocations: 0.8609 MB / 1.43 GB, free: 2.824 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/1.573, allocations: 2.254 MB / 1.433 GB, free: 0.6289 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.589, allocations: 7.27 MB / 1.44 GB, free: 9.32 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003885/1.593, allocations: 2.544 MB / 1.442 GB, free: 6.746 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.005804/1.599, allocations: 1.155 MB / 1.443 GB, free: 5.586 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.6, allocations: 331.3 kB / 1.444 GB, free: 5.266 MB / 1.123 GB Notification: Performance of SimCode: time 1.523e-06/1.6, allocations: 3.938 kB / 1.444 GB, free: 5.262 MB / 1.123 GB Notification: Performance of Templates: time 0.1473/1.747, allocations: 86.28 MB / 1.528 GB, free: 324 kB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches