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.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.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.001486/0.001486, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001736/0.001736, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.88 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8907, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2569/1.148, allocations: 198 MB / 1.282 GB, free: 7.586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01816/1.166, allocations: 10.91 MB / 1.293 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/1.168, allocations: 47.75 kB / 1.293 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002171/1.17, allocations: 0.5316 MB / 1.293 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005619/1.176, allocations: 1.785 MB / 1.295 GB, free: 10.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004291/1.18, allocations: 1.17 MB / 1.296 GB, free: 9.109 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00535/1.186, allocations: 2.776 MB / 1.299 GB, free: 6.324 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/1.188, allocations: 1.213 MB / 1.3 GB, free: 5.094 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005818/1.194, allocations: 1.639 MB / 1.302 GB, free: 3.461 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/1.197, allocations: 0.9494 MB / 1.303 GB, free: 2.512 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005735/1.197, allocations: 127.9 kB / 1.303 GB, free: 2.387 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/1.201, allocations: 1.723 MB / 1.304 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009467/1.202, allocations: 0.522 MB / 1.305 GB, free: 140 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/1.204, allocations: 0.7076 MB / 1.306 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005188/1.209, allocations: 2.356 MB / 1.308 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.209, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/1.209, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.655e-05/1.209, allocations: 0 / 1.308 GB, free: 13.06 MB / 1.045 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.003737/1.213, allocations: 1.701 MB / 1.309 GB, free: 11.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.213, allocations: 8.031 kB / 1.309 GB, free: 11.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.215, allocations: 322 kB / 1.31 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/1.217, allocations: 0.9171 MB / 1.311 GB, free: 10.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/1.217, allocations: 85.94 kB / 1.311 GB, free: 9.938 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.217, allocations: 104 kB / 1.311 GB, free: 9.836 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.22, allocations: 1.179 MB / 1.312 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/1.22, allocations: 0 / 1.312 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/1.22, allocations: 40 kB / 1.312 GB, free: 8.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/1.22, allocations: 38 kB / 1.312 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/1.221, allocations: 0.9368 MB / 1.313 GB, free: 7.602 MB / 1.045 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.005729/1.227, allocations: 4.721 MB / 1.318 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.228, allocations: 0.7138 MB / 1.318 GB, free: 1.773 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/1.229, allocations: 391 kB / 1.319 GB, free: 1.391 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/1.23, allocations: 319.8 kB / 1.319 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.23, allocations: 43.06 kB / 1.319 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 2.975e-06/1.23, allocations: 4 kB / 1.319 GB, free: 0.9648 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.002033/1.232, allocations: 1.001 MB / 1.32 GB, free: 15.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.232, allocations: 59.97 kB / 1.32 GB, free: 15.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/1.233, allocations: 0.7948 MB / 1.321 GB, free: 15.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/1.233, allocations: 37.7 kB / 1.321 GB, free: 15.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/1.233, allocations: 0.5383 MB / 1.321 GB, free: 14.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.234, allocations: 244.5 kB / 1.322 GB, free: 14.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.234, allocations: 146.6 kB / 1.322 GB, free: 14.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.234, allocations: 337.9 kB / 1.322 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004801/1.234, allocations: 300.7 kB / 1.322 GB, free: 13.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/1.235, allocations: 0.4968 MB / 1.323 GB, free: 12.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/1.236, allocations: 0.7913 MB / 1.324 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.236, allocations: 4 kB / 1.324 GB, free: 12.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001471/1.238, allocations: 0.9062 MB / 1.325 GB, free: 11.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.238, allocations: 8 kB / 1.325 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.238, allocations: 4 kB / 1.325 GB, free: 11.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/1.238, allocations: 8 kB / 1.325 GB, free: 11.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/1.239, allocations: 183.8 kB / 1.325 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/1.239, allocations: 0.6095 MB / 1.325 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/1.24, allocations: 83.11 kB / 1.325 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/1.24, allocations: 36 kB / 1.325 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008683/1.241, allocations: 0.5448 MB / 1.326 GB, free: 9.602 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006364/1.241, allocations: 0.4891 MB / 1.326 GB, free: 9.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/1.243, allocations: 0.7874 MB / 1.327 GB, free: 8.184 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/1.243, allocations: 0 / 1.327 GB, free: 8.184 MB / 1.061 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001443/1.244, allocations: 0.9096 MB / 1.328 GB, free: 7.266 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.244, allocations: 8 kB / 1.328 GB, free: 7.258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.244, allocations: 11.88 kB / 1.328 GB, free: 7.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.244, allocations: 11.94 kB / 1.328 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/1.245, allocations: 168.4 kB / 1.328 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.245, allocations: 12 kB / 1.328 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/1.246, allocations: 67.5 kB / 1.328 GB, free: 6.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.761e-05/1.246, allocations: 39.98 kB / 1.328 GB, free: 6.953 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (96): * Single equations (assignments): 95 * 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.0002429/1.246, allocations: 228 kB / 1.329 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/1.246, allocations: 98.78 kB / 1.329 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.248, allocations: 0.7976 MB / 1.33 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/1.248, allocations: 8 kB / 1.33 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.248, allocations: 0 / 1.33 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/1.249, allocations: 0.8788 MB / 1.33 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/1.252, allocations: 2.132 MB / 1.332 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.252, allocations: 4.281 kB / 1.332 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/1.253, allocations: 159.8 kB / 1.333 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/1.253, allocations: 4 kB / 1.333 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/1.253, allocations: 19.98 kB / 1.333 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/1.254, allocations: 0.6015 MB / 1.333 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.254, allocations: 0 / 1.333 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/1.255, allocations: 1.284 MB / 1.334 GB, free: 500 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/1.256, allocations: 255.7 kB / 1.335 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.256, allocations: 19.94 kB / 1.335 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/1.256, allocations: 19.98 kB / 1.335 GB, free: 184 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/1.257, allocations: 44.45 kB / 1.335 GB, free: 140 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.257, allocations: 35.98 kB / 1.335 GB, free: 104 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007878/1.257, allocations: 0.546 MB / 1.335 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.5e-07/1.257, allocations: 0 / 1.335 GB, free: 15.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001581/1.259, allocations: 0.5608 MB / 1.336 GB, free: 14.98 MB / 1.076 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 (68): * Single equations (assignments): 67 * 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 Backend phase and start with SimCode phase: time 0.0006973/1.26, allocations: 247.1 kB / 1.336 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002178/1.262, allocations: 1.165 MB / 1.337 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.262, allocations: 0 / 1.337 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005611/1.263, allocations: 362.9 kB / 1.338 GB, free: 13.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.265, allocations: 493.3 kB / 1.338 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/1.269, allocations: 2.322 MB / 1.34 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008553/1.269, allocations: 1.178 MB / 1.342 GB, free: 9.164 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/1.27, allocations: 87.42 kB / 1.342 GB, free: 9.078 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.27, allocations: 4 kB / 1.342 GB, free: 9.074 MB / 1.076 GB Notification: Performance of Templates: time 0.03159/1.301, allocations: 21.23 MB / 1.362 GB, free: 3.98 MB / 1.092 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/jenkins1/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