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) 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.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007217/0.007217, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001692/0.001692, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 151.6 MB / 1.167 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9209/1.282, allocations: 167.4 MB / 1.33 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0032/1.285, allocations: 1.556 MB / 1.332 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/1.285, allocations: 11.03 kB / 1.332 GB, free: 2.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005049/1.286, allocations: 157.7 kB / 1.332 GB, free: 2.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001924/1.288, allocations: 0.697 MB / 1.332 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/1.29, allocations: 0.61 MB / 1.333 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009638/1.291, allocations: 0.7098 MB / 1.334 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/1.291, allocations: 238.8 kB / 1.334 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/1.292, allocations: 351.4 kB / 1.334 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/1.292, allocations: 225.6 kB / 1.335 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/1.292, allocations: 23.41 kB / 1.335 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/1.294, allocations: 0.8701 MB / 1.335 GB, free: 480 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/1.294, allocations: 114.1 kB / 1.336 GB, free: 428 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/1.294, allocations: 174.1 kB / 1.336 GB, free: 328 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/1.296, allocations: 0.7277 MB / 1.336 GB, free: 84 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.296, allocations: 1.281 kB / 1.336 GB, free: 84 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/1.296, allocations: 0 / 1.336 GB, free: 84 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.296, allocations: 0 / 1.336 GB, free: 84 kB / 1.014 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.00099/1.297, allocations: 0.684 MB / 1.337 GB, free: 15.51 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.297, allocations: 9.406 kB / 1.337 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.298, allocations: 159.8 kB / 1.337 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/1.298, allocations: 320.3 kB / 1.338 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/1.298, allocations: 18.12 kB / 1.338 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/1.298, allocations: 35.48 kB / 1.338 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/1.299, allocations: 285.2 kB / 1.338 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.299, allocations: 5.094 kB / 1.338 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.299, allocations: 11.16 kB / 1.338 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/1.299, allocations: 5.438 kB / 1.338 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/1.3, allocations: 201.2 kB / 1.338 GB, free: 14.97 MB / 1.029 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.001459/1.301, allocations: 1.224 MB / 1.339 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/1.301, allocations: 152.6 kB / 1.339 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/1.302, allocations: 97.14 kB / 1.339 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/1.302, allocations: 303.6 kB / 1.34 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/1.302, allocations: 39.88 kB / 1.34 GB, free: 13.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/1.302, allocations: 0 / 1.34 GB, free: 13.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.0008329/1.303, allocations: 296.3 kB / 1.34 GB, free: 13.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.303, allocations: 53.44 kB / 1.34 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/1.303, allocations: 324.9 kB / 1.34 GB, free: 13.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.303, allocations: 31.17 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/1.304, allocations: 184.2 kB / 1.341 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/1.304, allocations: 64.78 kB / 1.341 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/1.304, allocations: 42.8 kB / 1.341 GB, free: 12.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.304, allocations: 341.6 kB / 1.341 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.304, allocations: 67.53 kB / 1.341 GB, free: 12.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/1.304, allocations: 127.8 kB / 1.341 GB, free: 12.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/1.305, allocations: 197.2 kB / 1.341 GB, free: 12.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.305, allocations: 4 kB / 1.341 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000502/1.305, allocations: 258.7 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.305, allocations: 5.75 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.305, allocations: 0.875 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.305, allocations: 3.812 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/1.306, allocations: 45.75 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.306, allocations: 3 kB / 1.342 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/1.306, allocations: 38.69 kB / 1.342 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/1.306, allocations: 7.75 kB / 1.342 GB, free: 12.25 MB / 1.029 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.0001493/1.306, allocations: 155.4 kB / 1.342 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/1.306, allocations: 37.88 kB / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/1.307, allocations: 229.5 kB / 1.342 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.307, allocations: 5.688 kB / 1.342 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.307, allocations: 4 kB / 1.342 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.307, allocations: 1.688 kB / 1.342 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/1.308, allocations: 0.7143 MB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.308, allocations: 2.656 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/1.308, allocations: 35.25 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/1.308, allocations: 2.344 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/1.308, allocations: 3.688 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/1.308, allocations: 9 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.308, allocations: 2.531 kB / 1.343 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/1.309, allocations: 456.2 kB / 1.343 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.309, allocations: 123.3 kB / 1.344 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/1.309, allocations: 3 kB / 1.344 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.309, allocations: 17.33 kB / 1.344 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/1.309, allocations: 18.73 kB / 1.344 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/1.309, allocations: 7.234 kB / 1.344 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00025/1.31, allocations: 229.1 kB / 1.344 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.31, allocations: 4 kB / 1.344 GB, free: 10.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004392/1.31, allocations: 90.28 kB / 1.344 GB, free: 10.91 MB / 1.029 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.0004588/1.311, allocations: 165.4 kB / 1.344 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000469/1.311, allocations: 184.6 kB / 1.344 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.311, allocations: 1.062 kB / 1.344 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/1.311, allocations: 92.66 kB / 1.344 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008823/1.312, allocations: 167.5 kB / 1.344 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.313, allocations: 0.6378 MB / 1.345 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.314, allocations: 0.7807 MB / 1.346 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002033/1.314, allocations: 69.7 kB / 1.346 GB, free: 9.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/1.314, allocations: 25.5 kB / 1.346 GB, free: 9.512 MB / 1.029 GB Notification: Performance of SimCode: time 2.5e-07/1.314, allocations: 0 / 1.346 GB, free: 9.512 MB / 1.029 GB Notification: Performance of Templates: time 0.01176/1.326, allocations: 5.841 MB / 1.352 GB, free: 8.719 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) 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) Reference file matches