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.00125/0.00125, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001305/0.001305, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 469.4 MB / 0.7423 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.48 kB / 0.9083 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 159.1 MB / 1.064 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7974/1.117, allocations: 195.4 MB / 1.255 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01763/1.135, allocations: 10.82 MB / 1.265 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/1.137, allocations: 39.75 kB / 1.265 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/1.139, allocations: 473.4 kB / 1.266 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/1.145, allocations: 1.665 MB / 1.267 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/1.149, allocations: 1.068 MB / 1.268 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004277/1.153, allocations: 2.776 MB / 1.271 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/1.155, allocations: 1.171 MB / 1.272 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005451/1.161, allocations: 1.605 MB / 1.274 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002149/1.163, allocations: 1.005 MB / 1.275 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005141/1.163, allocations: 124 kB / 1.275 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004223/1.168, allocations: 1.789 MB / 1.277 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009881/1.169, allocations: 0.5142 MB / 1.277 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/1.171, allocations: 0.7153 MB / 1.278 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/1.174, allocations: 1.746 MB / 1.279 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.174, allocations: 0 / 1.279 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.957e-06/1.174, allocations: 4 kB / 1.279 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.836e-05/1.174, allocations: 0 / 1.279 GB, free: 12.47 MB / 0.9981 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.004524/1.179, allocations: 1.686 MB / 1.281 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.179, allocations: 12.62 kB / 1.281 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/1.181, allocations: 333.9 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/1.183, allocations: 0.8587 MB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-05/1.183, allocations: 82 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/1.183, allocations: 103.9 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/1.186, allocations: 1.179 MB / 1.284 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/1.186, allocations: 3.984 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.186, allocations: 40 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/1.186, allocations: 41.94 kB / 1.284 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.188, allocations: 0.9368 MB / 1.285 GB, free: 7.066 MB / 0.9981 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.006934/1.195, allocations: 4.714 MB / 1.289 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/1.196, allocations: 0.7206 MB / 1.29 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/1.197, allocations: 401.7 kB / 1.29 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000636/1.197, allocations: 312.7 kB / 1.291 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.197, allocations: 43.12 kB / 1.291 GB, free: 440 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=68): time 4.188e-06/1.197, allocations: 7.938 kB / 1.291 GB, free: 432 kB / 0.9981 GB Notification: Performance of matching and sorting (n=68): time 0.002145/1.199, allocations: 1.005 MB / 1.292 GB, free: 15.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.199, allocations: 63.95 kB / 1.292 GB, free: 15.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.201, allocations: 0.7909 MB / 1.292 GB, free: 14.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/1.201, allocations: 37.7 kB / 1.293 GB, free: 14.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.201, allocations: 0.5344 MB / 1.293 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/1.202, allocations: 248.4 kB / 1.293 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/1.202, allocations: 146.6 kB / 1.293 GB, free: 13.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.202, allocations: 337.9 kB / 1.294 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/1.203, allocations: 300.7 kB / 1.294 GB, free: 12.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/1.203, allocations: 0.5006 MB / 1.295 GB, free: 12.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/1.205, allocations: 0.7874 MB / 1.295 GB, free: 11.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.205, allocations: 4 kB / 1.295 GB, free: 11.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001741/1.206, allocations: 0.9057 MB / 1.296 GB, free: 10.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.206, allocations: 8 kB / 1.296 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.206, allocations: 4 kB / 1.296 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/1.206, allocations: 8.625 kB / 1.296 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009071/1.207, allocations: 184.8 kB / 1.296 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000526/1.208, allocations: 0.6026 MB / 1.297 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.209, allocations: 139.1 kB / 1.297 GB, free: 9.598 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/1.209, allocations: 36 kB / 1.297 GB, free: 9.562 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00101/1.21, allocations: 0.5409 MB / 1.298 GB, free: 9.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006451/1.211, allocations: 0.4929 MB / 1.298 GB, free: 8.445 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/1.212, allocations: 0.7874 MB / 1.299 GB, free: 7.598 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/1.212, allocations: 4 kB / 1.299 GB, free: 7.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001574/1.214, allocations: 0.9096 MB / 1.3 GB, free: 6.676 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.214, allocations: 9.562 kB / 1.3 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.214, allocations: 4 kB / 1.3 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.214, allocations: 8.625 kB / 1.3 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/1.214, allocations: 171.7 kB / 1.3 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.214, allocations: 16.08 kB / 1.3 GB, free: 6.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.215, allocations: 115.5 kB / 1.3 GB, free: 6.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/1.216, allocations: 35.98 kB / 1.3 GB, free: 6.324 MB / 1.014 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.0003133/1.216, allocations: 236 kB / 1.3 GB, free: 6.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/1.216, allocations: 102.8 kB / 1.3 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.218, allocations: 0.7937 MB / 1.301 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.218, allocations: 11.92 kB / 1.301 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.218, allocations: 4 kB / 1.301 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/1.219, allocations: 0.8827 MB / 1.302 GB, free: 4.211 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003945/1.223, allocations: 2.135 MB / 1.304 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.223, allocations: 0 / 1.304 GB, free: 1.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007384/1.224, allocations: 159.8 kB / 1.304 GB, free: 1.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/1.224, allocations: 4.281 kB / 1.304 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/1.224, allocations: 20 kB / 1.304 GB, free: 1.793 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000361/1.224, allocations: 0.5937 MB / 1.305 GB, free: 1.176 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.224, allocations: 8.016 kB / 1.305 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.226, allocations: 1.276 MB / 1.306 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/1.227, allocations: 259.7 kB / 1.306 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.227, allocations: 15.94 kB / 1.306 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/1.228, allocations: 71.78 kB / 1.307 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/1.228, allocations: 40.52 kB / 1.307 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/1.228, allocations: 31.98 kB / 1.307 GB, free: 15.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008197/1.229, allocations: 0.546 MB / 1.307 GB, free: 14.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.229, allocations: 4 kB / 1.307 GB, free: 14.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001695/1.23, allocations: 0.5609 MB / 1.308 GB, free: 14.29 MB / 1.029 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.0006642/1.231, allocations: 240.5 kB / 1.308 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002681/1.234, allocations: 1.287 MB / 1.309 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.234, allocations: 192 / 1.309 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/1.234, allocations: 374.9 kB / 1.31 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002347/1.237, allocations: 495 kB / 1.31 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/1.242, allocations: 2.806 MB / 1.313 GB, free: 9.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.243, allocations: 1.178 MB / 1.314 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/1.243, allocations: 99.34 kB / 1.314 GB, free: 7.766 MB / 1.029 GB Notification: Performance of SimCode: time 1.142e-06/1.243, allocations: 0 / 1.314 GB, free: 7.766 MB / 1.029 GB Notification: Performance of Templates: time 0.03282/1.276, allocations: 21.11 MB / 1.335 GB, free: 2.785 MB / 1.045 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