Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001542/0.001542, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001844/0.001844, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.21 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.307/2.307, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9346/0.9361, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.Damper): time 0.2601/1.196, allocations: 182.1 MB / 1.266 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01218/1.208, allocations: 5.779 MB / 1.272 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/1.21, allocations: 31.81 kB / 1.272 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001656/1.212, allocations: 484.8 kB / 1.273 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00526/1.217, allocations: 1.595 MB / 1.274 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007134/1.225, allocations: 2.073 MB / 1.276 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005675/1.23, allocations: 3.08 MB / 1.279 GB, free: 10.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/1.233, allocations: 1.136 MB / 1.28 GB, free: 9.426 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/1.236, allocations: 1.309 MB / 1.282 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003764/1.24, allocations: 2.096 MB / 1.284 GB, free: 6.012 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001456/1.241, allocations: 272 kB / 1.284 GB, free: 5.746 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/1.247, allocations: 1.848 MB / 1.286 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001792/1.248, allocations: 0.9702 MB / 1.287 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003104/1.251, allocations: 1.229 MB / 1.288 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007423/1.259, allocations: 3.936 MB / 1.292 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.259, allocations: 0 / 1.292 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/1.259, allocations: 0 / 1.292 GB, free: 13.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.658e-05/1.259, allocations: 0 / 1.292 GB, free: 13.74 MB / 1.029 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.00879/1.268, allocations: 3.021 MB / 1.295 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/1.268, allocations: 8.031 kB / 1.295 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/1.27, allocations: 321.3 kB / 1.295 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/1.275, allocations: 2.251 MB / 1.297 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/1.275, allocations: 73.31 kB / 1.297 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/1.275, allocations: 96 kB / 1.297 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/1.277, allocations: 1.221 MB / 1.298 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.277, allocations: 7.938 kB / 1.298 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/1.277, allocations: 24 kB / 1.299 GB, free: 6.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/1.277, allocations: 20 kB / 1.299 GB, free: 6.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/1.28, allocations: 1.383 MB / 1.3 GB, free: 5.117 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.01288/1.293, allocations: 6.537 MB / 1.306 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/1.295, allocations: 1.228 MB / 1.307 GB, free: 13.15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.296, allocations: 0.6308 MB / 1.308 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/1.297, allocations: 450 kB / 1.309 GB, free: 11.99 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.297, allocations: 39.06 kB / 1.309 GB, free: 11.94 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 3.316e-06/1.297, allocations: 4 kB / 1.309 GB, free: 11.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.005023/1.302, allocations: 2.159 MB / 1.311 GB, free: 9.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/1.302, allocations: 55.97 kB / 1.311 GB, free: 9.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/1.307, allocations: 3.104 MB / 1.314 GB, free: 6.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003913/1.307, allocations: 53.69 kB / 1.314 GB, free: 6.484 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000785/1.308, allocations: 0.6872 MB / 1.314 GB, free: 5.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/1.308, allocations: 197.1 kB / 1.315 GB, free: 5.594 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008847/1.309, allocations: 402.4 kB / 1.315 GB, free: 5.191 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.309, allocations: 301.1 kB / 1.315 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003938/1.313, allocations: 2.422 MB / 1.318 GB, free: 2.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/1.318, allocations: 2.872 MB / 1.32 GB, free: 15.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.323, allocations: 3.34 MB / 1.324 GB, free: 12.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/1.323, allocations: 0 / 1.324 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.009646/1.333, allocations: 4.89 MB / 1.329 GB, free: 7.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/1.333, allocations: 6.344 kB / 1.329 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/1.333, allocations: 12.55 kB / 1.329 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007141/1.334, allocations: 136.7 kB / 1.329 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/1.336, allocations: 255.6 kB / 1.329 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/1.337, allocations: 1.209 MB / 1.33 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.34, allocations: 317.5 kB / 1.33 GB, free: 5.133 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/1.341, allocations: 51.97 kB / 1.33 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004824/1.345, allocations: 2.728 MB / 1.333 GB, free: 2.348 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004372/1.35, allocations: 2.869 MB / 1.336 GB, free: 15.31 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005103/1.355, allocations: 3.314 MB / 1.339 GB, free: 11.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/1.355, allocations: 7.938 kB / 1.339 GB, free: 11.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.009279/1.364, allocations: 4.838 MB / 1.344 GB, free: 7.066 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.364, allocations: 4 kB / 1.344 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.364, allocations: 8 kB / 1.344 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.364, allocations: 12.56 kB / 1.344 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.366, allocations: 251.6 kB / 1.344 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.366, allocations: 15.88 kB / 1.344 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/1.37, allocations: 279 kB / 1.344 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/1.37, allocations: 52.06 kB / 1.344 GB, free: 6.457 MB / 1.076 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.0006325/1.37, allocations: 271.2 kB / 1.345 GB, free: 6.188 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/1.371, allocations: 169.7 kB / 1.345 GB, free: 6.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/1.375, allocations: 1.596 MB / 1.346 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.375, allocations: 3.984 kB / 1.346 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.375, allocations: 0 / 1.346 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.376, allocations: 454.3 kB / 1.347 GB, free: 3.941 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/1.376, allocations: 8 kB / 1.347 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.378, allocations: 75.97 kB / 1.347 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.378, allocations: 48.44 kB / 1.347 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003511/1.381, allocations: 1.5 MB / 1.348 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004376/1.386, allocations: 2.483 MB / 1.351 GB, free: 15.8 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00112/1.387, allocations: 0.6173 MB / 1.352 GB, free: 15.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003633/1.391, allocations: 2.215 MB / 1.354 GB, free: 12.94 MB / 1.092 GB Notification: Performance of Backend: time 3.41e-07/1.391, allocations: 0 / 1.354 GB, free: 12.94 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.405, allocations: 6.322 MB / 1.36 GB, free: 6.582 MB / 1.092 GB Notification: Performance of SimCode: time 0.007724/1.413, allocations: 3.355 MB / 1.363 GB, free: 3.176 MB / 1.092 GB Notification: Performance of Templates: time 0.1176/1.53, allocations: 62.88 MB / 1.425 GB, free: 4.562 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Examples_Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches