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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001602/0.001602, allocations: 106 kB / 16.41 MB, free: 6.406 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.001772/0.001772, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8955, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2139/1.109, allocations: 198 MB / 1.402 GB, free: 6.852 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01725/1.127, allocations: 10.9 MB / 1.412 GB, free: 11.92 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/1.129, allocations: 47.75 kB / 1.412 GB, free: 11.87 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002184/1.131, allocations: 0.5316 MB / 1.413 GB, free: 11.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006141/1.137, allocations: 1.792 MB / 1.415 GB, free: 9.535 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.141, allocations: 1.165 MB / 1.416 GB, free: 8.375 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004567/1.146, allocations: 2.78 MB / 1.419 GB, free: 5.586 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/1.148, allocations: 1.201 MB / 1.42 GB, free: 4.359 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/1.153, allocations: 1.639 MB / 1.421 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.156, allocations: 0.9516 MB / 1.422 GB, free: 1.773 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004778/1.156, allocations: 128 kB / 1.422 GB, free: 1.648 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004337/1.16, allocations: 1.723 MB / 1.424 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0008873/1.161, allocations: 0.5181 MB / 1.425 GB, free: 15.4 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/1.163, allocations: 0.7231 MB / 1.425 GB, free: 14.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/1.168, allocations: 2.349 MB / 1.428 GB, free: 12.32 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.168, allocations: 0 / 1.428 GB, free: 12.32 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.495e-06/1.168, allocations: 4 kB / 1.428 GB, free: 12.32 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.396e-05/1.168, allocations: 0 / 1.428 GB, free: 12.32 MB / 1.154 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.003925/1.172, allocations: 1.686 MB / 1.429 GB, free: 10.57 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.172, allocations: 12.03 kB / 1.429 GB, free: 10.56 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/1.174, allocations: 326 kB / 1.43 GB, free: 10.24 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/1.176, allocations: 0.921 MB / 1.43 GB, free: 9.277 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/1.176, allocations: 78 kB / 1.431 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/1.177, allocations: 104 kB / 1.431 GB, free: 9.102 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/1.179, allocations: 1.175 MB / 1.432 GB, free: 7.887 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/1.179, allocations: 7.984 kB / 1.432 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/1.179, allocations: 44 kB / 1.432 GB, free: 7.836 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/1.179, allocations: 37.94 kB / 1.432 GB, free: 7.801 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/1.181, allocations: 0.9368 MB / 1.433 GB, free: 6.863 MB / 1.154 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.00594/1.187, allocations: 4.721 MB / 1.437 GB, free: 1.754 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/1.188, allocations: 0.7128 MB / 1.438 GB, free: 1.031 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000562/1.188, allocations: 391 kB / 1.439 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/1.189, allocations: 316.7 kB / 1.439 GB, free: 292 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.189, allocations: 43.12 kB / 1.439 GB, free: 240 kB / 1.154 GB Notification: Performance of pre-optimization done (n=68): time 2.935e-06/1.189, allocations: 0 / 1.439 GB, free: 240 kB / 1.154 GB Notification: Performance of matching and sorting (n=68): time 0.00208/1.191, allocations: 1.005 MB / 1.44 GB, free: 15.22 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.191, allocations: 59.95 kB / 1.44 GB, free: 15.15 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.192, allocations: 0.7948 MB / 1.441 GB, free: 14.33 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/1.192, allocations: 45.7 kB / 1.441 GB, free: 14.28 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/1.193, allocations: 0.5305 MB / 1.441 GB, free: 13.74 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/1.193, allocations: 240.5 kB / 1.441 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/1.193, allocations: 150.6 kB / 1.442 GB, free: 13.35 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.193, allocations: 341.9 kB / 1.442 GB, free: 13.01 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/1.194, allocations: 296.7 kB / 1.442 GB, free: 12.72 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/1.195, allocations: 0.4968 MB / 1.443 GB, free: 12.14 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.196, allocations: 0.7951 MB / 1.443 GB, free: 11.29 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.196, allocations: 0 / 1.443 GB, free: 11.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001569/1.197, allocations: 0.9102 MB / 1.444 GB, free: 10.37 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.197, allocations: 8.094 kB / 1.444 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/1.197, allocations: 8 kB / 1.444 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/1.197, allocations: 8 kB / 1.444 GB, free: 10.35 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/1.198, allocations: 175.8 kB / 1.445 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004136/1.199, allocations: 0.6132 MB / 1.445 GB, free: 9.539 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008224/1.2, allocations: 83.3 kB / 1.445 GB, free: 9.457 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/1.2, allocations: 32 kB / 1.445 GB, free: 9.426 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009368/1.201, allocations: 0.5409 MB / 1.446 GB, free: 8.883 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006291/1.201, allocations: 0.4968 MB / 1.446 GB, free: 8.309 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001121/1.202, allocations: 0.7874 MB / 1.447 GB, free: 7.453 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/1.202, allocations: 0 / 1.447 GB, free: 7.453 MB / 1.17 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001516/1.204, allocations: 0.9098 MB / 1.448 GB, free: 6.535 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.204, allocations: 10.02 kB / 1.448 GB, free: 6.527 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.204, allocations: 8 kB / 1.448 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.204, allocations: 11.94 kB / 1.448 GB, free: 6.508 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/1.205, allocations: 163.8 kB / 1.448 GB, free: 6.348 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.205, allocations: 12.48 kB / 1.448 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00084/1.205, allocations: 67.52 kB / 1.448 GB, free: 6.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/1.206, allocations: 31.98 kB / 1.448 GB, free: 6.238 MB / 1.17 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.0002563/1.206, allocations: 235.9 kB / 1.448 GB, free: 6 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/1.206, allocations: 102.8 kB / 1.449 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/1.208, allocations: 0.7977 MB / 1.449 GB, free: 5.09 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.208, allocations: 8 kB / 1.449 GB, free: 5.082 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.208, allocations: 0 / 1.449 GB, free: 5.082 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/1.209, allocations: 0.871 MB / 1.45 GB, free: 4.141 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/1.213, allocations: 2.147 MB / 1.452 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.213, allocations: 0 / 1.452 GB, free: 1.887 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/1.213, allocations: 160.1 kB / 1.452 GB, free: 1.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/1.213, allocations: 11.94 kB / 1.452 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/1.213, allocations: 23.97 kB / 1.452 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003285/1.214, allocations: 0.5937 MB / 1.453 GB, free: 1.078 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.214, allocations: 4.031 kB / 1.453 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/1.216, allocations: 1.284 MB / 1.454 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/1.216, allocations: 251.8 kB / 1.455 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/1.216, allocations: 19.92 kB / 1.455 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/1.217, allocations: 20 kB / 1.455 GB, free: 15.44 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/1.217, allocations: 48.44 kB / 1.455 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/1.217, allocations: 23.98 kB / 1.455 GB, free: 15.37 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007626/1.218, allocations: 0.546 MB / 1.455 GB, free: 14.81 MB / 1.186 GB Notification: Performance of sort global known variables: time 5.81e-07/1.218, allocations: 0 / 1.455 GB, free: 14.81 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001606/1.219, allocations: 0.5686 MB / 1.456 GB, free: 14.24 MB / 1.186 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.0006222/1.22, allocations: 230.5 kB / 1.456 GB, free: 14.02 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002163/1.222, allocations: 1.166 MB / 1.457 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.222, allocations: 4.062 kB / 1.457 GB, free: 12.86 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/1.223, allocations: 370.9 kB / 1.457 GB, free: 12.49 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/1.225, allocations: 485.3 kB / 1.458 GB, free: 12.03 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.229, allocations: 2.337 MB / 1.46 GB, free: 9.629 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/1.23, allocations: 1.175 MB / 1.461 GB, free: 8.426 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.23, allocations: 91.41 kB / 1.461 GB, free: 8.34 MB / 1.186 GB Notification: Performance of SimCode: time 8.21e-07/1.23, allocations: 0 / 1.461 GB, free: 8.34 MB / 1.186 GB Notification: Performance of Templates: time 0.02844/1.259, allocations: 21.23 MB / 1.482 GB, free: 3.25 MB / 1.201 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches