Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001546/0.001546, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001477/0.001477, allocations: 183 kB / 17.34 MB, free: 5.762 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.363/1.363, 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 10.1.1-maint.10.0.x/package.mo): time 2.497/2.497, allocations: 437 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.001501, allocations: 63.84 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.939, allocations: 151.6 MB / 1.167 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2146/1.154, allocations: 198 MB / 1.361 GB, free: 13.28 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01633/1.17, allocations: 10.9 MB / 1.371 GB, free: 2.348 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.172, allocations: 51.69 kB / 1.371 GB, free: 2.297 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/1.174, allocations: 0.5472 MB / 1.372 GB, free: 1.746 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00525/1.179, allocations: 1.863 MB / 1.374 GB, free: 15.87 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/1.183, allocations: 1.178 MB / 1.375 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00412/1.187, allocations: 2.776 MB / 1.378 GB, free: 11.92 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/1.189, allocations: 1.205 MB / 1.379 GB, free: 10.69 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/1.194, allocations: 1.674 MB / 1.38 GB, free: 9.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002048/1.196, allocations: 0.9519 MB / 1.381 GB, free: 8.07 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005024/1.197, allocations: 124 kB / 1.381 GB, free: 7.949 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003795/1.201, allocations: 1.727 MB / 1.383 GB, free: 6.219 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007297/1.201, allocations: 0.522 MB / 1.384 GB, free: 5.695 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.203, allocations: 0.7114 MB / 1.384 GB, free: 4.98 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/1.207, allocations: 2.36 MB / 1.387 GB, free: 2.613 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/1.208, allocations: 4 kB / 1.387 GB, free: 2.609 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.825e-06/1.208, allocations: 0 / 1.387 GB, free: 2.609 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.261e-05/1.208, allocations: 0 / 1.387 GB, free: 2.609 MB / 1.107 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.002909/1.21, allocations: 1.686 MB / 1.388 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.211, allocations: 16.92 kB / 1.388 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/1.212, allocations: 325.9 kB / 1.389 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.214, allocations: 0.9055 MB / 1.39 GB, free: 15.58 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/1.214, allocations: 89.91 kB / 1.39 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.214, allocations: 107.9 kB / 1.39 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.216, allocations: 1.175 MB / 1.391 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.216, allocations: 4 kB / 1.391 GB, free: 14.18 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/1.216, allocations: 40 kB / 1.391 GB, free: 14.14 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/1.216, allocations: 34 kB / 1.391 GB, free: 14.1 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/1.218, allocations: 0.9446 MB / 1.392 GB, free: 13.16 MB / 1.123 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.005865/1.224, allocations: 4.71 MB / 1.396 GB, free: 8.062 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/1.225, allocations: 0.7237 MB / 1.397 GB, free: 7.336 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/1.226, allocations: 389.4 kB / 1.398 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/1.226, allocations: 319.8 kB / 1.398 GB, free: 6.586 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.226, allocations: 39.12 kB / 1.398 GB, free: 6.539 MB / 1.123 GB Notification: Performance of pre-optimization done (n=68): time 2.896e-06/1.226, allocations: 0 / 1.398 GB, free: 6.539 MB / 1.123 GB Notification: Performance of matching and sorting (n=68): time 0.002/1.228, allocations: 1.009 MB / 1.399 GB, free: 5.527 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.228, allocations: 55.97 kB / 1.399 GB, free: 5.461 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.229, allocations: 0.7987 MB / 1.4 GB, free: 4.637 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/1.229, allocations: 37.7 kB / 1.4 GB, free: 4.594 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/1.23, allocations: 0.5383 MB / 1.4 GB, free: 4.047 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.23, allocations: 240.5 kB / 1.4 GB, free: 3.809 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.23, allocations: 146.6 kB / 1.401 GB, free: 3.656 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.23, allocations: 337.9 kB / 1.401 GB, free: 3.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/1.231, allocations: 300.7 kB / 1.401 GB, free: 3.023 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/1.232, allocations: 0.5006 MB / 1.402 GB, free: 2.445 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.233, allocations: 0.7952 MB / 1.402 GB, free: 1.586 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.233, allocations: 0 / 1.402 GB, free: 1.586 MB / 1.123 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001438/1.234, allocations: 0.9102 MB / 1.403 GB, free: 0.668 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.234, allocations: 8 kB / 1.403 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.234, allocations: 4 kB / 1.403 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.234, allocations: 8 kB / 1.403 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/1.235, allocations: 179.7 kB / 1.404 GB, free: 484 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004274/1.236, allocations: 0.6093 MB / 1.404 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/1.236, allocations: 83.36 kB / 1.404 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/1.236, allocations: 32 kB / 1.404 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000862/1.237, allocations: 0.5409 MB / 1.405 GB, free: 15.18 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000612/1.238, allocations: 0.5006 MB / 1.405 GB, free: 14.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001076/1.239, allocations: 0.7874 MB / 1.406 GB, free: 13.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.189e-06/1.239, allocations: 4.156 kB / 1.406 GB, free: 13.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001455/1.24, allocations: 0.9212 MB / 1.407 GB, free: 12.82 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.24, allocations: 4 kB / 1.407 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.24, allocations: 8 kB / 1.407 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.24, allocations: 11.94 kB / 1.407 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/1.241, allocations: 160.4 kB / 1.407 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/1.241, allocations: 19.94 kB / 1.407 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/1.242, allocations: 63.52 kB / 1.407 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/1.242, allocations: 31.98 kB / 1.407 GB, free: 12.53 MB / 1.139 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.0002821/1.242, allocations: 228 kB / 1.407 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.242, allocations: 102.8 kB / 1.408 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/1.244, allocations: 0.7937 MB / 1.408 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.244, allocations: 11.98 kB / 1.408 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.244, allocations: 0 / 1.408 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/1.245, allocations: 0.8749 MB / 1.409 GB, free: 10.44 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/1.248, allocations: 2.151 MB / 1.411 GB, free: 8.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.248, allocations: 288 / 1.411 GB, free: 8.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/1.249, allocations: 163.7 kB / 1.411 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.249, allocations: 4 kB / 1.411 GB, free: 8.016 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/1.249, allocations: 19.98 kB / 1.411 GB, free: 7.996 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003212/1.25, allocations: 0.5937 MB / 1.412 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.25, allocations: 4.031 kB / 1.412 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.251, allocations: 1.28 MB / 1.413 GB, free: 6.051 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004894/1.252, allocations: 255.8 kB / 1.414 GB, free: 5.781 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.252, allocations: 19.92 kB / 1.414 GB, free: 5.762 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/1.253, allocations: 19.98 kB / 1.414 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/1.253, allocations: 44.52 kB / 1.414 GB, free: 5.699 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/1.253, allocations: 27.98 kB / 1.414 GB, free: 5.672 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007354/1.253, allocations: 0.546 MB / 1.414 GB, free: 5.113 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.61e-07/1.253, allocations: 0 / 1.414 GB, free: 5.113 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001468/1.255, allocations: 0.5608 MB / 1.415 GB, free: 4.551 MB / 1.139 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.0005657/1.255, allocations: 238.7 kB / 1.415 GB, free: 4.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002157/1.258, allocations: 1.173 MB / 1.416 GB, free: 3.148 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.258, allocations: 0 / 1.416 GB, free: 3.148 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/1.258, allocations: 366.9 kB / 1.416 GB, free: 2.789 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/1.26, allocations: 499.2 kB / 1.417 GB, free: 2.316 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/1.264, allocations: 2.328 MB / 1.419 GB, free: 15.92 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/1.265, allocations: 1.175 MB / 1.42 GB, free: 14.71 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/1.265, allocations: 91.41 kB / 1.42 GB, free: 14.62 MB / 1.154 GB Notification: Performance of SimCode: time 1.944e-06/1.265, allocations: 0 / 1.42 GB, free: 14.62 MB / 1.154 GB Notification: Performance of Templates: time 0.03202/1.297, allocations: 21.25 MB / 1.441 GB, free: 9.508 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches