Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001328/0.001328, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.9 MB / 0.666 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7173, allocations: 142.4 MB / 0.9544 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2033/0.9206, allocations: 180.2 MB / 1.13 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.9349, allocations: 10.16 MB / 1.14 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.9363, allocations: 39.75 kB / 1.14 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.9375, allocations: 365.5 kB / 1.141 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.9411, allocations: 1.328 MB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.9436, allocations: 0.8883 MB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.9471, allocations: 3.181 MB / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/0.9486, allocations: 0.8808 MB / 1.147 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.9517, allocations: 1.221 MB / 1.148 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.9532, allocations: 0.8989 MB / 1.149 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.9534, allocations: 52 kB / 1.149 GB, free: 7.801 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.9559, allocations: 1.037 MB / 1.15 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.9564, allocations: 450.6 kB / 1.15 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.9568, allocations: 273 kB / 1.151 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.9588, allocations: 1.621 MB / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9588, allocations: 0 / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9588, allocations: 0 / 1.152 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.607e-05/0.9589, allocations: 4 kB / 1.152 GB, free: 4.418 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.00277/0.9617, allocations: 1.456 MB / 1.154 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9617, allocations: 8.031 kB / 1.154 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.9635, allocations: 330 kB / 1.154 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.9652, allocations: 0.9022 MB / 1.155 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.9653, allocations: 78 kB / 1.155 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.9655, allocations: 108 kB / 1.155 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.9675, allocations: 1.171 MB / 1.156 GB, free: 248 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.9675, allocations: 3.938 kB / 1.156 GB, free: 244 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.9676, allocations: 44 kB / 1.156 GB, free: 200 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.9677, allocations: 38 kB / 1.156 GB, free: 160 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.9692, allocations: 0.9329 MB / 1.157 GB, free: 15.22 MB / 0.92 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.005232/0.9745, allocations: 4.718 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.9757, allocations: 0.7372 MB / 1.163 GB, free: 9.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.9762, allocations: 398.9 kB / 1.163 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.9768, allocations: 327.8 kB / 1.163 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.9769, allocations: 35.12 kB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/0.9769, allocations: 0 / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=69): time 0.001879/0.9788, allocations: 1.025 MB / 1.164 GB, free: 7.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.9788, allocations: 63.95 kB / 1.164 GB, free: 7.453 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.9798, allocations: 0.7908 MB / 1.165 GB, free: 6.637 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.9799, allocations: 41.7 kB / 1.165 GB, free: 6.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.9803, allocations: 0.5344 MB / 1.166 GB, free: 6.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.9805, allocations: 244.5 kB / 1.166 GB, free: 5.805 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.156e-05/0.9806, allocations: 23.94 kB / 1.166 GB, free: 5.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9807, allocations: 337.9 kB / 1.166 GB, free: 5.445 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.9812, allocations: 289.8 kB / 1.167 GB, free: 5.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006474/0.9818, allocations: 0.507 MB / 1.167 GB, free: 4.578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.9824, allocations: 379 kB / 1.167 GB, free: 4.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.9824, allocations: 4 kB / 1.167 GB, free: 4.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001433/0.9839, allocations: 0.9137 MB / 1.168 GB, free: 3.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.984, allocations: 220.4 kB / 1.168 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.984, allocations: 4 kB / 1.168 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.9841, allocations: 8 kB / 1.168 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.9849, allocations: 183.7 kB / 1.169 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003669/0.9853, allocations: 0.6016 MB / 1.169 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.9862, allocations: 139.1 kB / 1.169 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/0.9863, allocations: 35.98 kB / 1.169 GB, free: 2.016 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.9863, allocations: 4 kB / 1.169 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00134/0.9876, allocations: 0.7959 MB / 1.17 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.9876, allocations: 4 kB / 1.17 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.9877, allocations: 15.94 kB / 1.17 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.9883, allocations: 171.7 kB / 1.17 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.9883, allocations: 8.594 kB / 1.17 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/0.9891, allocations: 131.2 kB / 1.171 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.9892, allocations: 35.98 kB / 1.171 GB, free: 0.8555 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006222/0.9898, allocations: 408.8 kB / 1.171 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.9899, allocations: 102.8 kB / 1.171 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.9914, allocations: 0.8054 MB / 1.172 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.9914, allocations: 8 kB / 1.172 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9914, allocations: 3.984 kB / 1.172 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001104/0.9925, allocations: 0.8828 MB / 1.173 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.996, allocations: 2.174 MB / 1.175 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.996, allocations: 4 kB / 1.175 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/0.9968, allocations: 155.8 kB / 1.175 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/0.9968, allocations: 12.22 kB / 1.175 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.9969, allocations: 23.98 kB / 1.175 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003325/0.9972, allocations: 0.5937 MB / 1.176 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9972, allocations: 3.953 kB / 1.176 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.999, allocations: 1.303 MB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.9994, allocations: 255.7 kB / 1.177 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.9995, allocations: 23.98 kB / 1.177 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005513/1, allocations: 63.8 kB / 1.177 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/1, allocations: 48.48 kB / 1.177 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/1, allocations: 31.94 kB / 1.177 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006583/1.001, allocations: 0.5382 MB / 1.178 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 0 / 1.178 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001419/1.002, allocations: 0.5687 MB / 1.178 GB, free: 8.574 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005448/1.003, allocations: 242 kB / 1.179 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002021/1.005, allocations: 1.165 MB / 1.18 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.005, allocations: 4.188 kB / 1.18 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/1.005, allocations: 374.9 kB / 1.18 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.008, allocations: 489.5 kB / 1.181 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/1.011, allocations: 2.8 MB / 1.183 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/1.012, allocations: 1.178 MB / 1.184 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001121/1.013, allocations: 356 kB / 1.185 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/1.013, allocations: 87.41 kB / 1.185 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of SimCode: time 9.12e-07/1.013, allocations: 4 kB / 1.185 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.02904/1.042, allocations: 16.57 MB / 1.201 GB, free: 1.52 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches