Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_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.007656/0.007656, allocations: 102 kB / 15.73 MB, free: 6.035 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.001554/0.001555, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8552/0.8565, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.1043/0.9608, allocations: 94.89 MB / 1.181 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.05273/1.014, allocations: 30.01 MB / 1.21 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007237/1.021, allocations: 159 kB / 1.21 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007594/1.029, allocations: 2.005 MB / 1.212 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/1.045, allocations: 4.501 MB / 1.216 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.01326/1.058, allocations: 3.611 MB / 1.22 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01824/1.076, allocations: 8.861 MB / 1.229 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007608/1.084, allocations: 3.29 MB / 1.232 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/1.095, allocations: 3.777 MB / 1.235 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/1.101, allocations: 2.769 MB / 1.238 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001867/1.103, allocations: 396 kB / 1.239 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008538/1.111, allocations: 2.66 MB / 1.241 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003517/1.115, allocations: 1.612 MB / 1.243 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006602/1.122, allocations: 2.511 MB / 1.245 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.138, allocations: 7.639 MB / 1.253 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.138, allocations: 0 / 1.253 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.138, allocations: 0 / 1.253 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002623/1.138, allocations: 0 / 1.253 GB, free: 5.164 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01748/1.155, allocations: 5.581 MB / 1.258 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.155, allocations: 12.03 kB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009607/1.165, allocations: 1.552 MB / 1.26 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.178, allocations: 5.192 MB / 1.265 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/1.179, allocations: 171.8 kB / 1.265 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008476/1.18, allocations: 216 kB / 1.265 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007739/1.187, allocations: 3.018 MB / 1.268 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/1.187, allocations: 3.938 kB / 1.268 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003894/1.188, allocations: 80 kB / 1.268 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/1.188, allocations: 48 kB / 1.268 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/1.195, allocations: 2.333 MB / 1.27 GB, free: 2.723 MB / 0.9981 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.02388/1.218, allocations: 12.55 MB / 1.283 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/1.224, allocations: 1.872 MB / 1.284 GB, free: 3.668 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/1.227, allocations: 0.8519 MB / 1.285 GB, free: 2.809 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008663/1.236, allocations: 4.35 MB / 1.29 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/1.236, allocations: 47.22 kB / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/1.236, allocations: 0 / 1.29 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=79): time 0.0085/1.244, allocations: 2.769 MB / 1.292 GB, free: 11.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.244, allocations: 60.06 kB / 1.292 GB, free: 11.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00908/1.253, allocations: 4.673 MB / 1.297 GB, free: 6.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004566/1.254, allocations: 53.7 kB / 1.297 GB, free: 6.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.256, allocations: 2.045 MB / 1.299 GB, free: 4.441 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006315/1.257, allocations: 276.1 kB / 1.299 GB, free: 4.168 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/1.258, allocations: 491.1 kB / 1.3 GB, free: 3.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.258, allocations: 309 kB / 1.3 GB, free: 3.375 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/1.261, allocations: 1.648 MB / 1.302 GB, free: 1.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004001/1.265, allocations: 2.561 MB / 1.304 GB, free: 14.73 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/1.273, allocations: 4.118 MB / 1.308 GB, free: 10.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.871e-05/1.273, allocations: 8 kB / 1.308 GB, free: 10.22 MB / 1.045 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01022/1.283, allocations: 4.488 MB / 1.313 GB, free: 5.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.283, allocations: 19.94 kB / 1.313 GB, free: 5.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.623e-05/1.283, allocations: 28 kB / 1.313 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.547e-05/1.283, allocations: 44.03 kB / 1.313 GB, free: 5.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/1.287, allocations: 0.6084 MB / 1.313 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/1.29, allocations: 2.98 MB / 1.316 GB, free: 1.945 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003486/1.293, allocations: 342.1 kB / 1.316 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/1.294, allocations: 183.9 kB / 1.317 GB, free: 1.43 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004548/1.298, allocations: 2.27 MB / 1.319 GB, free: 15.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003529/1.302, allocations: 2.26 MB / 1.321 GB, free: 12.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006152/1.308, allocations: 3.544 MB / 1.325 GB, free: 8.531 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.678e-05/1.308, allocations: 12 kB / 1.325 GB, free: 8.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.008092/1.316, allocations: 3.887 MB / 1.328 GB, free: 4.625 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.316, allocations: 19.94 kB / 1.328 GB, free: 4.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.316, allocations: 32.09 kB / 1.328 GB, free: 4.574 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/1.316, allocations: 40 kB / 1.328 GB, free: 4.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/1.32, allocations: 0.6397 MB / 1.329 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-05/1.32, allocations: 55.78 kB / 1.329 GB, free: 3.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/1.324, allocations: 251.2 kB / 1.329 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003763/1.324, allocations: 176 kB / 1.329 GB, free: 3.422 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (216): * Single equations (assignments): 208 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007716/1.325, allocations: 315.9 kB / 1.33 GB, free: 3.105 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.326, allocations: 414.5 kB / 1.33 GB, free: 2.695 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007142/1.333, allocations: 2.664 MB / 1.333 GB, free: 12 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/1.334, allocations: 19.98 kB / 1.333 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.334, allocations: 0 / 1.333 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.334, allocations: 3.984 kB / 1.333 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.345, allocations: 5.12 MB / 1.338 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.345, allocations: 0 / 1.338 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/1.347, allocations: 311.7 kB / 1.338 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/1.348, allocations: 137.7 kB / 1.338 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.348, allocations: 43.95 kB / 1.338 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/1.349, allocations: 2.667 MB / 1.341 GB, free: 7.539 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.35, allocations: 7.938 kB / 1.341 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006532/1.356, allocations: 2.472 MB / 1.343 GB, free: 5.016 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.359, allocations: 0.6632 MB / 1.344 GB, free: 4.328 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.36, allocations: 16 kB / 1.344 GB, free: 4.312 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.363, allocations: 139.8 kB / 1.344 GB, free: 4.176 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/1.363, allocations: 68.91 kB / 1.344 GB, free: 4.109 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.363, allocations: 67.94 kB / 1.344 GB, free: 4.043 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006074/1.369, allocations: 3.206 MB / 1.347 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.61e-07/1.369, allocations: 4 kB / 1.347 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006077/1.375, allocations: 1.719 MB / 1.349 GB, free: 15.12 MB / 1.092 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 (102): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001741/1.377, allocations: 0.6586 MB / 1.35 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01257/1.39, allocations: 5.101 MB / 1.355 GB, free: 9.379 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.39, allocations: 4 kB / 1.355 GB, free: 9.375 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.393, allocations: 1.026 MB / 1.356 GB, free: 8.352 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00967/1.402, allocations: 2.274 MB / 1.358 GB, free: 6.109 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/1.418, allocations: 7.125 MB / 1.365 GB, free: 14.95 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/1.422, allocations: 2.519 MB / 1.367 GB, free: 12.4 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005175/1.427, allocations: 1.09 MB / 1.368 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.428, allocations: 307.3 kB / 1.369 GB, free: 11 MB / 1.107 GB Notification: Performance of SimCode: time 2.034e-06/1.428, allocations: 4 kB / 1.369 GB, free: 11 MB / 1.107 GB Notification: Performance of Templates: time 0.1444/1.573, allocations: 86.8 MB / 1.453 GB, free: 5.367 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches