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.001313/0.001313, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001277/0.001277, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.15 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.531/2.531, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.88 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6744/0.6757, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1958/0.8716, allocations: 198 MB / 1.361 GB, free: 13.08 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01447/0.8861, allocations: 10.92 MB / 1.371 GB, free: 2.129 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.8874, allocations: 43.75 kB / 1.371 GB, free: 2.086 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.889, allocations: 0.5355 MB / 1.372 GB, free: 1.547 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.8932, allocations: 1.879 MB / 1.374 GB, free: 15.66 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.896, allocations: 1.163 MB / 1.375 GB, free: 14.5 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003165/0.8991, allocations: 2.788 MB / 1.378 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.9008, allocations: 1.197 MB / 1.379 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.9043, allocations: 1.677 MB / 1.38 GB, free: 8.816 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.9057, allocations: 0.9516 MB / 1.381 GB, free: 7.863 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.906, allocations: 124 kB / 1.381 GB, free: 7.742 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00282/0.9088, allocations: 1.727 MB / 1.383 GB, free: 6.012 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.9094, allocations: 0.5181 MB / 1.384 GB, free: 5.492 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0008326/0.9102, allocations: 0.7192 MB / 1.384 GB, free: 4.77 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.9132, allocations: 2.349 MB / 1.387 GB, free: 2.414 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9132, allocations: 0 / 1.387 GB, free: 2.414 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9132, allocations: 0 / 1.387 GB, free: 2.414 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.9132, allocations: 7.938 kB / 1.387 GB, free: 2.406 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.002858/0.9161, allocations: 1.69 MB / 1.388 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.9161, allocations: 8.922 kB / 1.388 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.918, allocations: 326 kB / 1.389 GB, free: 344 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.9196, allocations: 0.9249 MB / 1.39 GB, free: 15.37 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.9197, allocations: 74 kB / 1.39 GB, free: 15.29 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.9199, allocations: 107.9 kB / 1.39 GB, free: 15.19 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.9217, allocations: 1.179 MB / 1.391 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.9217, allocations: 0 / 1.391 GB, free: 13.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.9218, allocations: 40 kB / 1.391 GB, free: 13.93 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.049e-05/0.9219, allocations: 38 kB / 1.391 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.9234, allocations: 0.9407 MB / 1.392 GB, free: 12.96 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.005565/0.929, allocations: 4.721 MB / 1.396 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.9302, allocations: 0.709 MB / 1.397 GB, free: 7.133 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/0.9308, allocations: 391 kB / 1.398 GB, free: 6.75 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.9314, allocations: 320.7 kB / 1.398 GB, free: 6.379 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.9315, allocations: 35.12 kB / 1.398 GB, free: 6.336 MB / 1.123 GB Notification: Performance of pre-optimization done (n=68): time 4.088e-06/0.9315, allocations: 4 kB / 1.398 GB, free: 6.332 MB / 1.123 GB Notification: Performance of matching and sorting (n=68): time 0.001913/0.9334, allocations: 1.009 MB / 1.399 GB, free: 5.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9335, allocations: 59.97 kB / 1.399 GB, free: 5.25 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000962/0.9344, allocations: 0.7909 MB / 1.4 GB, free: 4.434 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.9345, allocations: 41.7 kB / 1.4 GB, free: 4.387 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.9349, allocations: 0.5305 MB / 1.4 GB, free: 3.848 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.9351, allocations: 244.5 kB / 1.4 GB, free: 3.605 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.9353, allocations: 146.6 kB / 1.401 GB, free: 3.453 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9355, allocations: 341.9 kB / 1.401 GB, free: 3.113 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.9359, allocations: 296.7 kB / 1.401 GB, free: 2.82 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.9366, allocations: 0.4968 MB / 1.402 GB, free: 2.246 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.9377, allocations: 0.7913 MB / 1.402 GB, free: 1.391 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.9378, allocations: 4 kB / 1.402 GB, free: 1.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001431/0.9392, allocations: 0.9057 MB / 1.403 GB, free: 484 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9392, allocations: 8 kB / 1.403 GB, free: 476 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9392, allocations: 4 kB / 1.403 GB, free: 472 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.9393, allocations: 11.94 kB / 1.403 GB, free: 460 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.9401, allocations: 188.3 kB / 1.404 GB, free: 272 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003929/0.9405, allocations: 0.6054 MB / 1.404 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.9412, allocations: 79.2 kB / 1.404 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.9413, allocations: 36 kB / 1.404 GB, free: 15.52 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008144/0.9421, allocations: 0.5486 MB / 1.405 GB, free: 14.97 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005992/0.9427, allocations: 0.493 MB / 1.405 GB, free: 14.4 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/0.9438, allocations: 0.7873 MB / 1.406 GB, free: 13.55 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.9438, allocations: 8 kB / 1.406 GB, free: 13.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001478/0.9453, allocations: 0.9141 MB / 1.407 GB, free: 12.62 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.9453, allocations: 8 kB / 1.407 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.9454, allocations: 4 kB / 1.407 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9454, allocations: 11.94 kB / 1.407 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.946, allocations: 179.7 kB / 1.407 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.946, allocations: 8 kB / 1.407 GB, free: 12.41 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007088/0.9468, allocations: 59.52 kB / 1.407 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.9468, allocations: 35.98 kB / 1.407 GB, free: 12.32 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.0002083/0.947, allocations: 232 kB / 1.407 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.9472, allocations: 98.78 kB / 1.408 GB, free: 11.99 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.9486, allocations: 0.7975 MB / 1.408 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/0.9497, allocations: 0.871 MB / 1.409 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.9497, allocations: 3.984 kB / 1.409 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.9501, allocations: 251.6 kB / 1.409 GB, free: 9.973 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.9503, allocations: 23.98 kB / 1.409 GB, free: 9.949 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000504/0.9508, allocations: 12.56 kB / 1.409 GB, free: 9.938 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.9508, allocations: 40.5 kB / 1.41 GB, free: 9.898 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001695/0.9525, allocations: 0.8626 MB / 1.41 GB, free: 9.023 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001725/0.9543, allocations: 1.325 MB / 1.412 GB, free: 7.684 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004587/0.9548, allocations: 336.3 kB / 1.412 GB, free: 7.352 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006688/0.9554, allocations: 0.546 MB / 1.412 GB, free: 6.793 MB / 1.139 GB Notification: Performance of Backend: time 4.51e-07/0.9554, allocations: 0 / 1.412 GB, free: 6.793 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.9585, allocations: 1.358 MB / 1.414 GB, free: 5.445 MB / 1.139 GB Notification: Performance of SimCode: time 0.004215/0.9627, allocations: 2.791 MB / 1.417 GB, free: 2.613 MB / 1.139 GB Notification: Performance of Templates: time 0.0362/0.9989, allocations: 24 MB / 1.44 GB, free: 10.87 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