Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 209.4 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|conVolFlo.y|conMasVolFra.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 70.77 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3303, allocations: 176.1 MB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.2146/0.5449, allocations: 175.3 MB / 1.498 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.561, allocations: 10.1 MB / 1.508 GB, free: 6.789 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.5628, allocations: 67.44 kB / 1.508 GB, free: 6.723 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.5647, allocations: 0.516 MB / 1.509 GB, free: 6.203 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.5701, allocations: 1.851 MB / 1.511 GB, free: 4.344 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.5735, allocations: 1.205 MB / 1.512 GB, free: 3.145 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004133/0.5777, allocations: 2.835 MB / 1.514 GB, free: 300 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.5792, allocations: 0.8819 MB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/0.5842, allocations: 1.899 MB / 1.517 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001924/0.5861, allocations: 1.007 MB / 1.518 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.5863, allocations: 124 kB / 1.518 GB, free: 12.37 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.5894, allocations: 1.438 MB / 1.52 GB, free: 10.93 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006189/0.59, allocations: 0.5258 MB / 1.52 GB, free: 10.4 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008181/0.5908, allocations: 0.5911 MB / 1.521 GB, free: 9.805 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003879/0.5947, allocations: 2.328 MB / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5947, allocations: 0 / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5947, allocations: 0 / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.5947, allocations: 0 / 1.523 GB, free: 7.469 MB / 1.217 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.003139/0.5979, allocations: 1.663 MB / 1.525 GB, free: 5.77 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5979, allocations: 8.031 kB / 1.525 GB, free: 5.762 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.5999, allocations: 330.8 kB / 1.525 GB, free: 5.438 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.6019, allocations: 0.8536 MB / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.6019, allocations: 78 kB / 1.526 GB, free: 4.48 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.6021, allocations: 103.9 kB / 1.526 GB, free: 4.379 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.6044, allocations: 1.33 MB / 1.527 GB, free: 2.977 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.6044, allocations: 0 / 1.527 GB, free: 2.977 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/0.6045, allocations: 47.94 kB / 1.527 GB, free: 2.93 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.6046, allocations: 34 kB / 1.527 GB, free: 2.895 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.6062, allocations: 0.9368 MB / 1.528 GB, free: 1.957 MB / 1.217 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.005255/0.6115, allocations: 2.995 MB / 1.531 GB, free: 14.89 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.6128, allocations: 0.6874 MB / 1.532 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.6134, allocations: 363.3 kB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.614, allocations: 84.56 kB / 1.532 GB, free: 13.75 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.6141, allocations: 39.22 kB / 1.532 GB, free: 13.71 MB / 1.232 GB Notification: Performance of pre-optimization done (n=68): time 3.316e-06/0.6141, allocations: 0 / 1.532 GB, free: 13.71 MB / 1.232 GB Notification: Performance of matching and sorting (n=68): time 0.002159/0.6162, allocations: 1.009 MB / 1.533 GB, free: 12.69 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.6163, allocations: 60.06 kB / 1.533 GB, free: 12.62 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.6172, allocations: 0.7159 MB / 1.534 GB, free: 11.9 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.6173, allocations: 41.7 kB / 1.534 GB, free: 11.85 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.6178, allocations: 0.5558 MB / 1.535 GB, free: 11.29 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.618, allocations: 261.8 kB / 1.535 GB, free: 11.03 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.6183, allocations: 146.6 kB / 1.535 GB, free: 10.88 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6184, allocations: 337.9 kB / 1.535 GB, free: 10.55 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.6189, allocations: 304.7 kB / 1.536 GB, free: 10.25 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.6198, allocations: 0.6987 MB / 1.536 GB, free: 9.422 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.6211, allocations: 0.7839 MB / 1.537 GB, free: 8.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.6211, allocations: 8 kB / 1.537 GB, free: 8.562 MB / 1.232 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001622/0.6227, allocations: 0.9069 MB / 1.538 GB, free: 7.648 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6228, allocations: 8 kB / 1.538 GB, free: 7.641 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6228, allocations: 4 kB / 1.538 GB, free: 7.637 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.6228, allocations: 11.98 kB / 1.538 GB, free: 7.625 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.6237, allocations: 175.7 kB / 1.538 GB, free: 7.453 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004856/0.6242, allocations: 0.6093 MB / 1.539 GB, free: 6.82 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.6249, allocations: 67.62 kB / 1.539 GB, free: 6.754 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.625, allocations: 44.09 kB / 1.539 GB, free: 6.711 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009849/0.626, allocations: 0.5448 MB / 1.539 GB, free: 6.164 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008201/0.6268, allocations: 0.6898 MB / 1.54 GB, free: 5.348 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/0.6281, allocations: 0.7917 MB / 1.541 GB, free: 4.492 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.6281, allocations: 0 / 1.541 GB, free: 4.492 MB / 1.232 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001575/0.6296, allocations: 0.9029 MB / 1.542 GB, free: 3.582 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.6297, allocations: 11.94 kB / 1.542 GB, free: 3.57 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6297, allocations: 4 kB / 1.542 GB, free: 3.566 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6297, allocations: 8 kB / 1.542 GB, free: 3.559 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6304, allocations: 163.8 kB / 1.542 GB, free: 3.398 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.6304, allocations: 15.88 kB / 1.542 GB, free: 3.383 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.6311, allocations: 83.58 kB / 1.542 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.6312, allocations: 31.94 kB / 1.542 GB, free: 3.27 MB / 1.232 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.0002594/0.6314, allocations: 232.1 kB / 1.542 GB, free: 3.035 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6316, allocations: 103.3 kB / 1.542 GB, free: 2.934 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.6331, allocations: 0.7798 MB / 1.543 GB, free: 2.141 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.6344, allocations: 0.8887 MB / 1.544 GB, free: 1.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.6344, allocations: 0 / 1.544 GB, free: 1.184 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.6349, allocations: 171.1 kB / 1.544 GB, free: 1.016 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.635, allocations: 12 kB / 1.544 GB, free: 1.004 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.6354, allocations: 25.11 kB / 1.544 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.6355, allocations: 40.52 kB / 1.544 GB, free: 0.9414 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.6374, allocations: 0.8571 MB / 1.545 GB, free: 76 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002071/0.6394, allocations: 1.336 MB / 1.546 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005329/0.64, allocations: 317 kB / 1.547 GB, free: 14.41 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006883/0.6407, allocations: 491 kB / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of Backend: time 2.71e-07/0.6407, allocations: 0 / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.644, allocations: 1.266 MB / 1.548 GB, free: 12.67 MB / 1.248 GB Notification: Performance of SimCode: time 0.004748/0.6487, allocations: 2.795 MB / 1.551 GB, free: 9.828 MB / 1.248 GB Notification: Performance of Templates: time 0.04311/0.6918, allocations: 25.91 MB / 1.576 GB, free: 300 kB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.466969192006218]