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.001578/0.001578, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001672/0.001672, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 4.535 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.383/2.383, allocations: 390.2 MB / 0.665 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 0.8127 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7705, allocations: 140.4 MB / 0.9498 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.08865/0.8591, allocations: 94.01 MB / 1.042 GB, free: 3.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04326/0.9025, allocations: 29.77 MB / 1.071 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007489/0.91, allocations: 147.1 kB / 1.071 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006433/0.9165, allocations: 1.759 MB / 1.072 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.9301, allocations: 4.195 MB / 1.077 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00904/0.9391, allocations: 3.317 MB / 1.08 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01303/0.9522, allocations: 8.983 MB / 1.089 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005515/0.9577, allocations: 3.329 MB / 1.092 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00974/0.9675, allocations: 3.807 MB / 1.096 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004974/0.9725, allocations: 2.968 MB / 1.098 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0009657/0.9735, allocations: 400 kB / 1.099 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006158/0.9796, allocations: 2.679 MB / 1.101 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.9817, allocations: 1.636 MB / 1.103 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003869/0.9855, allocations: 2.527 MB / 1.106 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008471/0.994, allocations: 6.034 MB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.9941, allocations: 0 / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9941, allocations: 4 kB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002227/0.9943, allocations: 7.938 kB / 1.111 GB, free: 12.01 MB / 0.8731 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.0126/1.007, allocations: 5.593 MB / 1.117 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.007, allocations: 8.031 kB / 1.117 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008808/1.016, allocations: 1.552 MB / 1.118 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/1.028, allocations: 5.232 MB / 1.124 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007327/1.029, allocations: 280.7 kB / 1.124 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005913/1.029, allocations: 224 kB / 1.124 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/1.035, allocations: 3.022 MB / 1.127 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/1.035, allocations: 0 / 1.127 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/1.035, allocations: 80 kB / 1.127 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/1.035, allocations: 52 kB / 1.127 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005707/1.041, allocations: 2.388 MB / 1.129 GB, free: 9.355 MB / 0.8887 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.02068/1.062, allocations: 12.32 MB / 1.141 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005619/1.067, allocations: 1.984 MB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/1.07, allocations: 0.886 MB / 1.144 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007926/1.078, allocations: 4.445 MB / 1.149 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/1.078, allocations: 43.56 kB / 1.149 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001633/1.079, allocations: 178.3 kB / 1.149 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 5.32e-06/1.079, allocations: 0 / 1.149 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.008047/1.087, allocations: 2.92 MB / 1.152 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.087, allocations: 60.41 kB / 1.152 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008789/1.096, allocations: 4.622 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.097, allocations: 61.61 kB / 1.156 GB, free: 12.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002046/1.099, allocations: 2.041 MB / 1.158 GB, free: 10.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005797/1.099, allocations: 291.8 kB / 1.159 GB, free: 10.53 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/1.101, allocations: 495.1 kB / 1.159 GB, free: 10.04 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/1.101, allocations: 301.1 kB / 1.159 GB, free: 9.738 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/1.104, allocations: 1.691 MB / 1.161 GB, free: 8.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003991/1.108, allocations: 2.604 MB / 1.164 GB, free: 5.004 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00698/1.115, allocations: 4.221 MB / 1.168 GB, free: 404 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.903e-05/1.115, allocations: 8 kB / 1.168 GB, free: 396 kB / 0.92 GB Notification: Performance of matching and sorting (n=251) (initialization): time 0.009335/1.125, allocations: 4.593 MB / 1.172 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/1.125, allocations: 16 kB / 1.172 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.195e-05/1.125, allocations: 32.09 kB / 1.172 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/1.125, allocations: 36 kB / 1.172 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003808/1.129, allocations: 0.6279 MB / 1.173 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/1.131, allocations: 2.988 MB / 1.176 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/1.135, allocations: 236.4 kB / 1.176 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004097/1.135, allocations: 179.9 kB / 1.176 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004436/1.14, allocations: 2.304 MB / 1.178 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003355/1.143, allocations: 2.315 MB / 1.181 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006036/1.149, allocations: 3.643 MB / 1.184 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-05/1.149, allocations: 8 kB / 1.184 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251) (initialization_lambda0): time 0.007999/1.157, allocations: 3.992 MB / 1.188 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/1.157, allocations: 20 kB / 1.188 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/1.157, allocations: 28 kB / 1.188 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/1.157, allocations: 40 kB / 1.188 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.16, allocations: 0.6475 MB / 1.189 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-05/1.161, allocations: 59.78 kB / 1.189 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/1.164, allocations: 232.3 kB / 1.189 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/1.164, allocations: 183.9 kB / 1.189 GB, free: 9.285 MB / 0.9512 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 (220): * Single equations (assignments): 212 * 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.0006742/1.165, allocations: 311.5 kB / 1.19 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/1.166, allocations: 410.6 kB / 1.19 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/1.173, allocations: 2.801 MB / 1.193 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.173, allocations: 23.92 kB / 1.193 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.173, allocations: 0 / 1.193 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/1.173, allocations: 3.984 kB / 1.193 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.186, allocations: 5.252 MB / 1.198 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/1.186, allocations: 4 kB / 1.198 GB, free: 396 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/1.188, allocations: 327.7 kB / 1.198 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/1.188, allocations: 145.6 kB / 1.198 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.189, allocations: 35.95 kB / 1.198 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.19, allocations: 2.675 MB / 1.201 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.191, allocations: 0 / 1.201 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/1.197, allocations: 2.585 MB / 1.203 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00211/1.199, allocations: 0.6555 MB / 1.204 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.2, allocations: 20 kB / 1.204 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/1.203, allocations: 207.6 kB / 1.204 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/1.204, allocations: 76.89 kB / 1.204 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.204, allocations: 67.94 kB / 1.204 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.006366/1.21, allocations: 3.171 MB / 1.208 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.32e-07/1.21, allocations: 0 / 1.208 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006903/1.217, allocations: 1.7 MB / 1.209 GB, free: 4.586 MB / 0.9669 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 (110): * Single equations (assignments): 96 * 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.002251/1.219, allocations: 0.627 MB / 1.21 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01378/1.233, allocations: 5.333 MB / 1.215 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.233, allocations: 4 kB / 1.215 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003106/1.236, allocations: 1.08 MB / 1.216 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01137/1.248, allocations: 2.295 MB / 1.218 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.266, allocations: 8.804 MB / 1.227 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/1.27, allocations: 2.485 MB / 1.229 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.271, allocations: 339.2 kB / 1.23 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.271, allocations: 0 / 1.23 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.6792/1.951, allocations: 145.4 MB / 1.372 GB, free: 193.1 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches