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.001596/0.001596, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001695/0.001695, allocations: 186.1 kB / 17.35 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7428 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.12 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6881, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.1995/0.8877, allocations: 198 MB / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01374/0.9014, allocations: 10.92 MB / 1.425 GB, free: 0.668 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.9026, allocations: 47.75 kB / 1.425 GB, free: 0.6211 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.9041, allocations: 0.5394 MB / 1.425 GB, free: 80 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004125/0.9083, allocations: 1.871 MB / 1.427 GB, free: 14.2 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.9111, allocations: 1.175 MB / 1.428 GB, free: 13.03 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.9144, allocations: 2.782 MB / 1.431 GB, free: 10.24 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.9162, allocations: 1.205 MB / 1.432 GB, free: 9.008 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.9203, allocations: 1.666 MB / 1.434 GB, free: 7.348 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.922, allocations: 0.9592 MB / 1.435 GB, free: 6.387 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.9224, allocations: 127.9 kB / 1.435 GB, free: 6.262 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.926, allocations: 1.727 MB / 1.437 GB, free: 4.531 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006777/0.9266, allocations: 0.5181 MB / 1.437 GB, free: 4.012 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.928, allocations: 0.7153 MB / 1.438 GB, free: 3.293 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004067/0.932, allocations: 2.36 MB / 1.44 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9321, allocations: 0 / 1.44 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9321, allocations: 0 / 1.44 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.771e-05/0.9321, allocations: 0 / 1.44 GB, free: 0.9258 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.003254/0.9354, allocations: 1.69 MB / 1.442 GB, free: 15.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.9354, allocations: 8.625 kB / 1.442 GB, free: 15.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.9375, allocations: 322.1 kB / 1.442 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.9393, allocations: 0.9132 MB / 1.443 GB, free: 13.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.9394, allocations: 81.94 kB / 1.443 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.9396, allocations: 104 kB / 1.443 GB, free: 13.72 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.9417, allocations: 1.175 MB / 1.444 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/0.9418, allocations: 4 kB / 1.444 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.9419, allocations: 40 kB / 1.444 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.629e-05/0.942, allocations: 45.98 kB / 1.445 GB, free: 12.42 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.9438, allocations: 0.9368 MB / 1.445 GB, free: 11.48 MB / 1.17 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.00665/0.9505, allocations: 4.714 MB / 1.45 GB, free: 6.383 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.9518, allocations: 0.7284 MB / 1.451 GB, free: 5.641 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.9524, allocations: 393.3 kB / 1.451 GB, free: 5.258 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/0.9531, allocations: 316.7 kB / 1.451 GB, free: 4.895 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.9532, allocations: 51.06 kB / 1.451 GB, free: 4.836 MB / 1.17 GB Notification: Performance of pre-optimization done (n=68): time 3.206e-06/0.9532, allocations: 0 / 1.451 GB, free: 4.836 MB / 1.17 GB Notification: Performance of matching and sorting (n=68): time 0.00204/0.9553, allocations: 0.9975 MB / 1.452 GB, free: 3.836 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.9553, allocations: 59.97 kB / 1.452 GB, free: 3.766 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.9564, allocations: 0.7948 MB / 1.453 GB, free: 2.945 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.386e-05/0.9565, allocations: 37.7 kB / 1.453 GB, free: 2.902 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.9569, allocations: 0.5383 MB / 1.454 GB, free: 2.355 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.9571, allocations: 248.5 kB / 1.454 GB, free: 2.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.9573, allocations: 146.5 kB / 1.454 GB, free: 1.961 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9575, allocations: 341.9 kB / 1.455 GB, free: 1.621 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000501/0.958, allocations: 300.6 kB / 1.455 GB, free: 1.324 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.9586, allocations: 0.4968 MB / 1.455 GB, free: 0.75 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.9598, allocations: 0.7874 MB / 1.456 GB, free: 15.89 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9598, allocations: 0 / 1.456 GB, free: 15.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001503/0.9614, allocations: 0.9136 MB / 1.457 GB, free: 14.98 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.9614, allocations: 8.625 kB / 1.457 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.9614, allocations: 8 kB / 1.457 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.9614, allocations: 11.94 kB / 1.457 GB, free: 14.95 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/0.9623, allocations: 179.7 kB / 1.457 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004119/0.9627, allocations: 0.6015 MB / 1.458 GB, free: 14.15 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/0.9635, allocations: 83.23 kB / 1.458 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.9636, allocations: 39.98 kB / 1.458 GB, free: 14.03 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008839/0.9645, allocations: 0.5409 MB / 1.458 GB, free: 13.48 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000669/0.9652, allocations: 0.489 MB / 1.459 GB, free: 12.92 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001139/0.9664, allocations: 0.7913 MB / 1.46 GB, free: 12.06 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.9664, allocations: 4 kB / 1.46 GB, free: 12.06 MB / 1.186 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001493/0.9679, allocations: 0.906 MB / 1.461 GB, free: 11.14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.9679, allocations: 8 kB / 1.461 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9679, allocations: 4 kB / 1.461 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.9679, allocations: 8 kB / 1.461 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006798/0.9686, allocations: 167.7 kB / 1.461 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.9686, allocations: 12 kB / 1.461 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.9694, allocations: 71.78 kB / 1.461 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.9695, allocations: 32 kB / 1.461 GB, free: 10.85 MB / 1.186 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.0002192/0.9697, allocations: 228 kB / 1.461 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.9699, allocations: 106.8 kB / 1.461 GB, free: 10.51 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.9713, allocations: 0.7898 MB / 1.462 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.9725, allocations: 0.8828 MB / 1.463 GB, free: 8.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.9725, allocations: 0 / 1.463 GB, free: 8.754 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.9729, allocations: 255.6 kB / 1.463 GB, free: 8.484 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.9731, allocations: 12 kB / 1.463 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.9736, allocations: 19.98 kB / 1.463 GB, free: 8.453 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.9737, allocations: 40.5 kB / 1.463 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001803/0.9755, allocations: 0.8625 MB / 1.464 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001841/0.9773, allocations: 1.321 MB / 1.465 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004959/0.9779, allocations: 336.3 kB / 1.466 GB, free: 5.875 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007188/0.9786, allocations: 0.5499 MB / 1.466 GB, free: 5.312 MB / 1.186 GB Notification: Performance of Backend: time 2.765e-06/0.9786, allocations: 0 / 1.466 GB, free: 5.312 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003215/0.9818, allocations: 1.358 MB / 1.467 GB, free: 3.965 MB / 1.186 GB Notification: Performance of SimCode: time 0.004837/0.9867, allocations: 2.799 MB / 1.47 GB, free: 1.121 MB / 1.186 GB Notification: Performance of Templates: time 0.04093/1.028, allocations: 23.99 MB / 1.494 GB, free: 9.359 MB / 1.217 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