Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001023/0.001023, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.17 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.143/2.143, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6878, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1994/0.8872, allocations: 185.1 MB / 1.269 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009577/0.8968, allocations: 6.968 MB / 1.276 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007835/0.8976, allocations: 27.81 kB / 1.276 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009935/0.8986, allocations: 413.5 kB / 1.277 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.9018, allocations: 1.513 MB / 1.278 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.9044, allocations: 1.169 MB / 1.279 GB, free: 10.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.9066, allocations: 1.941 MB / 1.281 GB, free: 8.715 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008405/0.9075, allocations: 0.6745 MB / 1.282 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.9087, allocations: 0.8523 MB / 1.283 GB, free: 7.176 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.9098, allocations: 0.6017 MB / 1.283 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.9099, allocations: 72 kB / 1.283 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.9131, allocations: 1.933 MB / 1.285 GB, free: 4.566 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.9134, allocations: 287.2 kB / 1.285 GB, free: 4.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.9138, allocations: 438 kB / 1.286 GB, free: 3.855 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.916, allocations: 1.761 MB / 1.288 GB, free: 2.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.916, allocations: 0 / 1.288 GB, free: 2.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.916, allocations: 0 / 1.288 GB, free: 2.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.916, allocations: 0 / 1.288 GB, free: 2.09 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001653/0.9177, allocations: 1.153 MB / 1.289 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9177, allocations: 12.03 kB / 1.289 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.9196, allocations: 274.7 kB / 1.289 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000965/0.9206, allocations: 0.6104 MB / 1.29 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.9206, allocations: 41.31 kB / 1.29 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.9207, allocations: 56 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.9218, allocations: 0.6323 MB / 1.29 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.9218, allocations: 7.938 kB / 1.29 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.9219, allocations: 23.94 kB / 1.29 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.9219, allocations: 17.31 kB / 1.29 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/0.9228, allocations: 0.5204 MB / 1.291 GB, free: 14.64 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.002843/0.9257, allocations: 2.453 MB / 1.293 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.9263, allocations: 366.6 kB / 1.294 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.9267, allocations: 233.4 kB / 1.294 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.9272, allocations: 315.5 kB / 1.294 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.9273, allocations: 34.89 kB / 1.294 GB, free: 10.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.9273, allocations: 0 / 1.294 GB, free: 10.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=39): time 0.00131/0.9286, allocations: 0.6225 MB / 1.295 GB, free: 10.34 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.9286, allocations: 55.41 kB / 1.295 GB, free: 10.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.9292, allocations: 499 kB / 1.295 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.9292, allocations: 37.7 kB / 1.295 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.9294, allocations: 328.4 kB / 1.296 GB, free: 9.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.9295, allocations: 142 kB / 1.296 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.9297, allocations: 86.12 kB / 1.296 GB, free: 9.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9298, allocations: 378.7 kB / 1.296 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.9302, allocations: 166.5 kB / 1.296 GB, free: 8.637 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.9306, allocations: 287.4 kB / 1.297 GB, free: 8.312 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.9313, allocations: 448.2 kB / 1.297 GB, free: 7.844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9313, allocations: 4 kB / 1.297 GB, free: 7.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000854/0.9321, allocations: 0.5278 MB / 1.298 GB, free: 7.305 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.9321, allocations: 4 kB / 1.298 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.9322, allocations: 4 kB / 1.298 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9322, allocations: 4 kB / 1.298 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.9329, allocations: 131.8 kB / 1.298 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003401/0.9332, allocations: 0.6057 MB / 1.298 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.9337, allocations: 63.52 kB / 1.298 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.9338, allocations: 16 kB / 1.298 GB, free: 6.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004864/0.9343, allocations: 348.8 kB / 1.299 GB, free: 6.113 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003868/0.9347, allocations: 287.5 kB / 1.299 GB, free: 5.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006684/0.9353, allocations: 448.6 kB / 1.299 GB, free: 5.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.9354, allocations: 4 kB / 1.299 GB, free: 5.324 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008338/0.9362, allocations: 0.5161 MB / 1.3 GB, free: 4.801 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.9362, allocations: 4 kB / 1.3 GB, free: 4.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9362, allocations: 4 kB / 1.3 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-06/0.9362, allocations: 16.2 kB / 1.3 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.9367, allocations: 119.8 kB / 1.3 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9368, allocations: 4 kB / 1.3 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.9372, allocations: 43.67 kB / 1.3 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.9373, allocations: 16 kB / 1.3 GB, free: 4.598 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.9374, allocations: 212.1 kB / 1.3 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.9375, allocations: 63.23 kB / 1.3 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008656/0.9384, allocations: 484 kB / 1.301 GB, free: 3.836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007583/0.9392, allocations: 0.7107 MB / 1.302 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9392, allocations: 0 / 1.302 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.9394, allocations: 172.3 kB / 1.302 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.9395, allocations: 8 kB / 1.302 GB, free: 2.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.9399, allocations: 27.97 kB / 1.302 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.94, allocations: 19.97 kB / 1.302 GB, free: 2.797 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001247/0.9412, allocations: 0.5833 MB / 1.302 GB, free: 2.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001117/0.9424, allocations: 0.8458 MB / 1.303 GB, free: 1.34 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003153/0.9427, allocations: 187.9 kB / 1.303 GB, free: 1.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003518/0.9431, allocations: 354.8 kB / 1.304 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of Backend: time 5.62e-07/0.9431, allocations: 4 kB / 1.304 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.9455, allocations: 0.9777 MB / 1.305 GB, free: 15.83 MB / 1.045 GB Notification: Performance of SimCode: time 0.002776/0.9483, allocations: 1.923 MB / 1.306 GB, free: 13.87 MB / 1.045 GB Notification: Performance of Templates: time 0.02509/0.9734, allocations: 17.78 MB / 1.324 GB, free: 12.25 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Density.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches