Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow|preInd.m_flow|preIndFrom_dp.m_flow|preIndDpFixed_nominal.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 118 kB / 16.42 MB, free: 6.012 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.002279/0.002279, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.537/2.537, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 64.03 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.047/1.048, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.2251/1.273, allocations: 182.1 MB / 1.345 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01451/1.288, allocations: 5.769 MB / 1.351 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/1.291, allocations: 27.81 kB / 1.351 GB, free: 7.293 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002348/1.293, allocations: 480.8 kB / 1.351 GB, free: 6.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007468/1.301, allocations: 1.604 MB / 1.353 GB, free: 5.211 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.009233/1.31, allocations: 2.079 MB / 1.355 GB, free: 3.145 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006907/1.317, allocations: 3.061 MB / 1.358 GB, free: 76 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/1.32, allocations: 1.151 MB / 1.359 GB, free: 14.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/1.323, allocations: 1.301 MB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/1.328, allocations: 2.096 MB / 1.362 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001611/1.329, allocations: 268 kB / 1.363 GB, free: 11.24 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006087/1.335, allocations: 1.856 MB / 1.364 GB, free: 9.383 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/1.337, allocations: 0.9663 MB / 1.365 GB, free: 8.414 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002763/1.34, allocations: 1.237 MB / 1.367 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006921/1.347, allocations: 3.94 MB / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.347, allocations: 0 / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.505e-06/1.347, allocations: 0 / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001099/1.347, allocations: 0 / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.01076/1.358, allocations: 3.006 MB / 1.373 GB, free: 160 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.358, allocations: 8.625 kB / 1.373 GB, free: 152 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002708/1.361, allocations: 321.5 kB / 1.374 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005004/1.366, allocations: 2.251 MB / 1.376 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/1.366, allocations: 69.31 kB / 1.376 GB, free: 13.43 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/1.366, allocations: 96 kB / 1.376 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/1.369, allocations: 1.225 MB / 1.377 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/1.369, allocations: 4 kB / 1.377 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/1.369, allocations: 31.94 kB / 1.377 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/1.369, allocations: 16 kB / 1.377 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/1.371, allocations: 1.387 MB / 1.379 GB, free: 10.61 MB / 1.107 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.01565/1.387, allocations: 6.541 MB / 1.385 GB, free: 3.871 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/1.389, allocations: 1.232 MB / 1.386 GB, free: 2.633 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/1.391, allocations: 0.6272 MB / 1.387 GB, free: 2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006207/1.391, allocations: 446 kB / 1.387 GB, free: 1.473 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/1.391, allocations: 47.06 kB / 1.387 GB, free: 1.418 MB / 1.107 GB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/1.391, allocations: 0 / 1.387 GB, free: 1.418 MB / 1.107 GB Notification: Performance of matching and sorting (n=57): time 0.005569/1.397, allocations: 2.155 MB / 1.389 GB, free: 15.24 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/1.397, allocations: 63.91 kB / 1.389 GB, free: 15.16 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005517/1.403, allocations: 3.104 MB / 1.392 GB, free: 12.02 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005631/1.403, allocations: 49.7 kB / 1.392 GB, free: 11.97 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/1.404, allocations: 0.6988 MB / 1.393 GB, free: 11.26 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/1.405, allocations: 193.2 kB / 1.393 GB, free: 11.07 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009258/1.405, allocations: 402.3 kB / 1.394 GB, free: 10.67 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.406, allocations: 301.1 kB / 1.394 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/1.409, allocations: 2.418 MB / 1.396 GB, free: 7.949 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/1.414, allocations: 2.868 MB / 1.399 GB, free: 4.91 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/1.418, allocations: 3.336 MB / 1.402 GB, free: 1.504 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/1.418, allocations: 3.984 kB / 1.402 GB, free: 1.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009155/1.428, allocations: 4.882 MB / 1.407 GB, free: 12.61 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.428, allocations: 11.94 kB / 1.407 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/1.428, allocations: 8.031 kB / 1.407 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/1.428, allocations: 144.8 kB / 1.407 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.43, allocations: 251.6 kB / 1.408 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/1.431, allocations: 1.209 MB / 1.409 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.435, allocations: 313.3 kB / 1.409 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.435, allocations: 47.98 kB / 1.409 GB, free: 10.58 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004831/1.44, allocations: 2.736 MB / 1.412 GB, free: 7.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00451/1.444, allocations: 2.865 MB / 1.415 GB, free: 4.805 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005283/1.45, allocations: 3.314 MB / 1.418 GB, free: 1.422 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.065e-05/1.45, allocations: 4 kB / 1.418 GB, free: 1.418 MB / 1.139 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.009952/1.46, allocations: 4.834 MB / 1.423 GB, free: 12.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/1.46, allocations: 8.562 kB / 1.423 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/1.46, allocations: 4 kB / 1.423 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.46, allocations: 16 kB / 1.423 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.462, allocations: 255.5 kB / 1.423 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/1.462, allocations: 11.94 kB / 1.423 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/1.465, allocations: 278.9 kB / 1.423 GB, free: 12.01 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003291/1.465, allocations: 51.97 kB / 1.423 GB, free: 11.96 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preInd.idx_sorted[13],preInd.idx_sorted[12],preInd.idx_sorted[11],preInd.idx_sorted[10],preInd.idx_sorted[9],preInd.idx_sorted[8],preInd.idx_sorted[7],preInd.idx_sorted[6],preInd.idx_sorted[5],preInd.idx_sorted[4],preInd.idx_sorted[3],preInd.idx_sorted[2],preInd.idx_sorted[1],preIndFrom_dp.idx_sorted[13],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[13],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 112 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006711/1.466, allocations: 274.3 kB / 1.423 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008279/1.467, allocations: 165.7 kB / 1.424 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/1.47, allocations: 1.6 MB / 1.425 GB, free: 9.898 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.47, allocations: 7.984 kB / 1.425 GB, free: 9.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.47, allocations: 0 / 1.425 GB, free: 9.891 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.472, allocations: 446.4 kB / 1.426 GB, free: 9.434 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006843/1.472, allocations: 8.062 kB / 1.426 GB, free: 9.426 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/1.474, allocations: 83.89 kB / 1.426 GB, free: 9.344 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.474, allocations: 44.44 kB / 1.426 GB, free: 9.301 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003261/1.478, allocations: 1.504 MB / 1.427 GB, free: 7.785 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004215/1.482, allocations: 2.479 MB / 1.43 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/1.483, allocations: 0.6212 MB / 1.43 GB, free: 4.668 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004014/1.487, allocations: 2.211 MB / 1.432 GB, free: 2.438 MB / 1.154 GB Notification: Performance of Backend: time 7.01e-07/1.487, allocations: 4 kB / 1.432 GB, free: 2.434 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01432/1.501, allocations: 6.318 MB / 1.439 GB, free: 12.08 MB / 1.17 GB Notification: Performance of SimCode: time 0.007466/1.509, allocations: 3.357 MB / 1.442 GB, free: 8.668 MB / 1.17 GB Notification: Performance of Templates: time 0.09981/1.609, allocations: 62.87 MB / 1.503 GB, free: 10.03 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches