Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001131/0.00113, allocations: 99 kB / 15.05 MB, free: 1.105 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.001182/0.001182, allocations: 177.3 kB / 15.95 MB, free: 216 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.344/1.344, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 436.5 MB / 0.7104 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.604/0.6043, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.172/0.7764, allocations: 164.1 MB / 1.181 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01271/0.7891, allocations: 9.568 MB / 1.19 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.7903, allocations: 39.75 kB / 1.19 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7919, allocations: 0.5015 MB / 1.191 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.7968, allocations: 1.593 MB / 1.193 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.8001, allocations: 1.134 MB / 1.194 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002779/0.8029, allocations: 1.619 MB / 1.195 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.8041, allocations: 0.9044 MB / 1.196 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.8063, allocations: 1.117 MB / 1.197 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009345/0.8073, allocations: 0.642 MB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.8074, allocations: 52 kB / 1.198 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.8094, allocations: 0.8229 MB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004224/0.8099, allocations: 422.8 kB / 1.199 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.8101, allocations: 277 kB / 1.199 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.8118, allocations: 1.512 MB / 1.201 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.8118, allocations: 3.938 kB / 1.201 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8118, allocations: 0 / 1.201 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.8118, allocations: 0 / 1.201 GB, free: 8.293 MB / 0.9512 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.002348/0.8142, allocations: 1.421 MB / 1.202 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8142, allocations: 15.98 kB / 1.202 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.816, allocations: 325.9 kB / 1.203 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.8177, allocations: 0.8554 MB / 1.203 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.054e-05/0.8178, allocations: 81.94 kB / 1.203 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.8179, allocations: 108 kB / 1.204 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.8197, allocations: 1.163 MB / 1.205 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.8197, allocations: 7.984 kB / 1.205 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.8198, allocations: 43.94 kB / 1.205 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.8199, allocations: 41.95 kB / 1.205 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.8214, allocations: 0.9329 MB / 1.206 GB, free: 3.176 MB / 0.9512 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.005154/0.8266, allocations: 4.714 MB / 1.21 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.8278, allocations: 0.7482 MB / 1.211 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004132/0.8282, allocations: 153.7 kB / 1.211 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.8282, allocations: 47.16 kB / 1.211 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=69): time 2.635e-06/0.8282, allocations: 0 / 1.211 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69): time 0.001874/0.8301, allocations: 1.021 MB / 1.212 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.8302, allocations: 59.97 kB / 1.212 GB, free: 12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.8311, allocations: 0.7908 MB / 1.213 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.8312, allocations: 37.7 kB / 1.213 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.8316, allocations: 0.5345 MB / 1.214 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.8318, allocations: 244.4 kB / 1.214 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.8318, allocations: 15.94 kB / 1.214 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.8319, allocations: 341.9 kB / 1.214 GB, free: 10 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/0.8324, allocations: 293.8 kB / 1.214 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/0.833, allocations: 0.5015 MB / 1.215 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.8336, allocations: 379 kB / 1.215 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8336, allocations: 0 / 1.215 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001406/0.835, allocations: 0.9176 MB / 1.216 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.8357, allocations: 1.745 MB / 1.218 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8357, allocations: 4 kB / 1.218 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8357, allocations: 12 kB / 1.218 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.8366, allocations: 183.7 kB / 1.218 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/0.837, allocations: 0.6016 MB / 1.219 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009348/0.8379, allocations: 147.1 kB / 1.219 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.355e-05/0.838, allocations: 32 kB / 1.219 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.838, allocations: 4 kB / 1.219 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.8393, allocations: 0.7962 MB / 1.22 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8393, allocations: 11.97 kB / 1.22 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.8393, allocations: 8 kB / 1.22 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.84, allocations: 171.8 kB / 1.22 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.84, allocations: 11.94 kB / 1.22 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/0.8408, allocations: 131.5 kB / 1.22 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.8409, allocations: 32 kB / 1.22 GB, free: 3.797 MB / 0.9669 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.0005765/0.8415, allocations: 408.7 kB / 1.22 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.8416, allocations: 94.88 kB / 1.22 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.8429, allocations: 0.8132 MB / 1.221 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8429, allocations: 4 kB / 1.221 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.843, allocations: 4 kB / 1.221 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/0.844, allocations: 0.8828 MB / 1.222 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.8475, allocations: 2.178 MB / 1.224 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8475, allocations: 0 / 1.224 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.8483, allocations: 155.8 kB / 1.224 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.8483, allocations: 11.92 kB / 1.224 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.8484, allocations: 19.95 kB / 1.224 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003014/0.8487, allocations: 0.6057 MB / 1.225 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8487, allocations: 4 kB / 1.225 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.8505, allocations: 1.404 MB / 1.226 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.8509, allocations: 259.7 kB / 1.227 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.8511, allocations: 16 kB / 1.227 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.8517, allocations: 79.77 kB / 1.227 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/0.8518, allocations: 52.39 kB / 1.227 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.8519, allocations: 24 kB / 1.227 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006769/0.8526, allocations: 0.5343 MB / 1.227 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8526, allocations: 0 / 1.227 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001412/0.854, allocations: 0.5687 MB / 1.228 GB, free: 11.35 MB / 0.9825 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.0005787/0.8546, allocations: 237.9 kB / 1.228 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.8568, allocations: 1.172 MB / 1.229 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.8568, allocations: 1.812 kB / 1.229 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.8574, allocations: 367.5 kB / 1.23 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.8597, allocations: 478.5 kB / 1.23 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.8636, allocations: 2.768 MB / 1.233 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/0.8644, allocations: 1.206 MB / 1.234 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001176/0.8656, allocations: 360 kB / 1.234 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.8658, allocations: 79.42 kB / 1.234 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.8658, allocations: 0 / 1.234 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of Templates: time 0.0273/0.8931, allocations: 16.56 MB / 1.251 GB, free: 4.324 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","../files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches