Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.693/2.693, allocations: 443.4 MB / 0.7321 GB, free: 12.46 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 71.88 kB / 1.061 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9152/0.9173, allocations: 160.8 MB / 1.218 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2356/1.153, allocations: 168.1 MB / 1.383 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003795/1.157, allocations: 1.57 MB / 1.384 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/1.157, allocations: 15.88 kB / 1.384 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006472/1.158, allocations: 150.8 kB / 1.384 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/1.16, allocations: 0.7546 MB / 1.385 GB, free: 12.04 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/1.162, allocations: 0.6336 MB / 1.386 GB, free: 11.41 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001122/1.163, allocations: 0.7294 MB / 1.386 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/1.164, allocations: 193 kB / 1.387 GB, free: 10.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/1.164, allocations: 358.7 kB / 1.387 GB, free: 10.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/1.165, allocations: 246.9 kB / 1.387 GB, free: 9.891 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/1.165, allocations: 24 kB / 1.387 GB, free: 9.867 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/1.167, allocations: 0.9507 MB / 1.388 GB, free: 8.914 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/1.167, allocations: 107.7 kB / 1.388 GB, free: 8.809 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/1.167, allocations: 175.1 kB / 1.388 GB, free: 8.637 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/1.169, allocations: 0.7268 MB / 1.389 GB, free: 7.914 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.169, allocations: 0 / 1.389 GB, free: 7.914 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.218e-06/1.169, allocations: 7.984 kB / 1.389 GB, free: 7.906 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.046e-06/1.169, allocations: 0 / 1.389 GB, free: 7.906 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001212/1.17, allocations: 0.6753 MB / 1.39 GB, free: 7.184 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.17, allocations: 15.97 kB / 1.39 GB, free: 7.168 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.171, allocations: 159.6 kB / 1.39 GB, free: 7.012 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006946/1.172, allocations: 318.4 kB / 1.39 GB, free: 6.664 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.172, allocations: 20.5 kB / 1.39 GB, free: 6.645 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/1.172, allocations: 31.89 kB / 1.39 GB, free: 6.613 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/1.172, allocations: 285 kB / 1.391 GB, free: 6.312 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.172, allocations: 0 / 1.391 GB, free: 6.312 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/1.172, allocations: 15.98 kB / 1.391 GB, free: 6.297 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.172, allocations: 8 kB / 1.391 GB, free: 6.289 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/1.173, allocations: 200.9 kB / 1.391 GB, free: 6.094 MB / 1.092 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.001875/1.175, allocations: 1.227 MB / 1.392 GB, free: 4.762 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/1.175, allocations: 142.4 kB / 1.392 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/1.175, allocations: 96.8 kB / 1.392 GB, free: 4.516 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006449/1.176, allocations: 307.2 kB / 1.393 GB, free: 4.16 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.176, allocations: 34.56 kB / 1.393 GB, free: 4.117 MB / 1.092 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/1.176, allocations: 0 / 1.393 GB, free: 4.117 MB / 1.092 GB Notification: Performance of matching and sorting (n=17): time 0.0008582/1.177, allocations: 296 kB / 1.393 GB, free: 3.824 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/1.177, allocations: 55.41 kB / 1.393 GB, free: 3.758 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/1.177, allocations: 324.5 kB / 1.393 GB, free: 3.438 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/1.177, allocations: 33.7 kB / 1.393 GB, free: 3.398 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.177, allocations: 180.3 kB / 1.393 GB, free: 3.219 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-05/1.177, allocations: 63.44 kB / 1.393 GB, free: 3.156 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/1.178, allocations: 41.7 kB / 1.394 GB, free: 3.109 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.178, allocations: 342.8 kB / 1.394 GB, free: 2.766 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/1.178, allocations: 71.95 kB / 1.394 GB, free: 2.695 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/1.178, allocations: 121.1 kB / 1.394 GB, free: 2.559 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/1.179, allocations: 203.9 kB / 1.394 GB, free: 2.344 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.179, allocations: 3.938 kB / 1.394 GB, free: 2.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000499/1.179, allocations: 257.2 kB / 1.394 GB, free: 2.082 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.179, allocations: 4 kB / 1.394 GB, free: 2.078 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/1.179, allocations: 4 kB / 1.394 GB, free: 2.074 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.179, allocations: 4.094 kB / 1.394 GB, free: 2.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/1.179, allocations: 51.84 kB / 1.395 GB, free: 2.02 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.179, allocations: 4 kB / 1.395 GB, free: 2.016 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/1.18, allocations: 31.77 kB / 1.395 GB, free: 1.984 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.18, allocations: 8 kB / 1.395 GB, free: 1.977 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/1.18, allocations: 161.6 kB / 1.395 GB, free: 1.809 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/1.18, allocations: 31.77 kB / 1.395 GB, free: 1.777 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005176/1.18, allocations: 232.6 kB / 1.395 GB, free: 1.539 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.18, allocations: 4 kB / 1.395 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.18, allocations: 0 / 1.395 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.18, allocations: 0 / 1.395 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/1.182, allocations: 0.7108 MB / 1.396 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.182, allocations: 0 / 1.396 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/1.182, allocations: 31.98 kB / 1.396 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/1.182, allocations: 7.922 kB / 1.396 GB, free: 0.707 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.182, allocations: 15.94 kB / 1.396 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/1.182, allocations: 12.16 kB / 1.396 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.182, allocations: 4 kB / 1.396 GB, free: 0.6758 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/1.183, allocations: 451.3 kB / 1.396 GB, free: 204 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.183, allocations: 116.9 kB / 1.396 GB, free: 68 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/1.183, allocations: 11.98 kB / 1.396 GB, free: 56 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.183, allocations: 11.94 kB / 1.396 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/1.183, allocations: 20.03 kB / 1.396 GB, free: 24 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/1.183, allocations: 8 kB / 1.396 GB, free: 16 kB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003016/1.183, allocations: 227.1 kB / 1.397 GB, free: 15.79 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.3e-07/1.183, allocations: 0 / 1.397 GB, free: 15.79 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.0004306/1.184, allocations: 87.83 kB / 1.397 GB, free: 15.7 MB / 1.108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004862/1.184, allocations: 175.3 kB / 1.397 GB, free: 15.53 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.0005062/1.185, allocations: 172 kB / 1.397 GB, free: 15.36 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.185, allocations: 0 / 1.397 GB, free: 15.36 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/1.185, allocations: 88.45 kB / 1.397 GB, free: 15.28 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008971/1.186, allocations: 175.2 kB / 1.397 GB, free: 15.11 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.187, allocations: 0.642 MB / 1.398 GB, free: 14.42 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.188, allocations: 0.7834 MB / 1.399 GB, free: 13.61 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0001967/1.188, allocations: 54.94 kB / 1.399 GB, free: 13.56 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/1.188, allocations: 27.44 kB / 1.399 GB, free: 13.53 MB / 1.108 GB Notification: Performance of SimCode: time 3.1e-07/1.188, allocations: 0 / 1.399 GB, free: 13.53 MB / 1.108 GB Notification: Performance of Templates: time 0.01403/1.202, allocations: 5.989 MB / 1.405 GB, free: 7.637 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.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.466007900424302]