Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00186/0.00186, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.002022/0.002022, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.44 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3224, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.943/1.265, allocations: 167.4 MB / 1.115 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003793/1.269, allocations: 1.555 MB / 1.116 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006398/1.27, allocations: 13.05 kB / 1.116 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/1.271, allocations: 150.2 kB / 1.116 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/1.273, allocations: 0.7099 MB / 1.117 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/1.275, allocations: 0.5981 MB / 1.118 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001409/1.277, allocations: 0.7236 MB / 1.118 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004726/1.277, allocations: 234 kB / 1.118 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/1.278, allocations: 347.7 kB / 1.119 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/1.278, allocations: 229.1 kB / 1.119 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.235e-05/1.278, allocations: 23.78 kB / 1.119 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/1.281, allocations: 0.8654 MB / 1.12 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/1.281, allocations: 111.8 kB / 1.12 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/1.281, allocations: 170.2 kB / 1.12 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/1.283, allocations: 0.7331 MB / 1.121 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.283, allocations: 2.219 kB / 1.121 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.283, allocations: 0 / 1.121 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.283, allocations: 0 / 1.121 GB, free: 5.566 MB / 0.8575 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.001339/1.284, allocations: 0.6588 MB / 1.122 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/1.285, allocations: 10.78 kB / 1.122 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/1.286, allocations: 155.1 kB / 1.122 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/1.286, allocations: 325.2 kB / 1.122 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/1.286, allocations: 20.94 kB / 1.122 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/1.286, allocations: 26.12 kB / 1.122 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/1.287, allocations: 285.7 kB / 1.122 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.287, allocations: 1.156 kB / 1.122 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/1.287, allocations: 9.406 kB / 1.122 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/1.287, allocations: 4.625 kB / 1.122 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/1.288, allocations: 206.8 kB / 1.123 GB, free: 20.73 MB / 0.8731 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.001816/1.289, allocations: 1.226 MB / 1.124 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/1.29, allocations: 149.7 kB / 1.124 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/1.29, allocations: 93.2 kB / 1.124 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006342/1.291, allocations: 304 kB / 1.124 GB, free: 19.58 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.291, allocations: 35.59 kB / 1.124 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/1.291, allocations: 2.438 kB / 1.124 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008857/1.292, allocations: 295.3 kB / 1.125 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.292, allocations: 54.38 kB / 1.125 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/1.292, allocations: 323.8 kB / 1.125 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/1.292, allocations: 29.67 kB / 1.125 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.292, allocations: 186.5 kB / 1.125 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/1.292, allocations: 61.84 kB / 1.125 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-05/1.292, allocations: 45.28 kB / 1.125 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.293, allocations: 345.5 kB / 1.126 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/1.293, allocations: 66.17 kB / 1.126 GB, free: 18.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/1.293, allocations: 128.5 kB / 1.126 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/1.293, allocations: 200.7 kB / 1.126 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.293, allocations: 0 / 1.126 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005296/1.294, allocations: 253.7 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.294, allocations: 11.14 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.294, allocations: 4.594 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/1.294, allocations: 4.438 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/1.294, allocations: 46.05 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.294, allocations: 3.844 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.295, allocations: 32.39 kB / 1.126 GB, free: 18.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/1.295, allocations: 8.781 kB / 1.126 GB, free: 18.63 MB / 0.8731 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.0001906/1.295, allocations: 156 kB / 1.126 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.999e-05/1.295, allocations: 37.58 kB / 1.126 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/1.295, allocations: 240.1 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.295, allocations: 1.625 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.295, allocations: 1.656 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.295, allocations: 0.7969 kB / 1.127 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/1.297, allocations: 0.7078 MB / 1.127 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.297, allocations: 1.781 kB / 1.127 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/1.297, allocations: 37.98 kB / 1.127 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.297, allocations: 7.312 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/1.297, allocations: 3.859 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/1.297, allocations: 8.172 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.297, allocations: 3.906 kB / 1.127 GB, free: 18.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/1.298, allocations: 448.7 kB / 1.128 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.298, allocations: 121 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/1.298, allocations: 9.391 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.298, allocations: 14.31 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/1.298, allocations: 21.55 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.298, allocations: 5.469 kB / 1.128 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002785/1.298, allocations: 236.6 kB / 1.128 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.298, allocations: 1.188 kB / 1.128 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004994/1.299, allocations: 83.19 kB / 1.128 GB, free: 17.65 MB / 0.8731 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.0004859/1.299, allocations: 163.8 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004743/1.3, allocations: 183.2 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.3, allocations: 0 / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/1.3, allocations: 96.53 kB / 1.129 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/1.301, allocations: 169.4 kB / 1.129 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/1.302, allocations: 0.6285 MB / 1.13 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.303, allocations: 0.7871 MB / 1.13 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002286/1.303, allocations: 66.55 kB / 1.13 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/1.303, allocations: 30.5 kB / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.303, allocations: 0 / 1.13 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.01388/1.317, allocations: 5.809 MB / 1.136 GB, free: 16.1 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches