Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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.0007417/0.0007417, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007805/0.0007805, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8285/0.8285, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.684/1.684, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.267e-05, allocations: 8.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5157/0.5157, allocations: 147.6 MB / 1.144 GB, free: 7.77 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.5176, allocations: 1.469 MB / 1.145 GB, free: 6.773 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.5178, allocations: 19.03 kB / 1.145 GB, free: 6.762 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.5182, allocations: 159.2 kB / 1.145 GB, free: 6.656 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.5194, allocations: 0.7142 MB / 1.146 GB, free: 6.281 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.5205, allocations: 0.6514 MB / 1.147 GB, free: 5.965 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.5211, allocations: 0.6973 MB / 1.147 GB, free: 5.637 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.5214, allocations: 174.1 kB / 1.148 GB, free: 5.566 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007946/0.5222, allocations: 0.5955 MB / 1.148 GB, free: 5.309 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.5224, allocations: 202 kB / 1.148 GB, free: 5.242 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.5225, allocations: 23.09 kB / 1.148 GB, free: 5.242 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008921/0.5234, allocations: 0.7213 MB / 1.149 GB, free: 4.969 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5235, allocations: 112.7 kB / 1.149 GB, free: 4.918 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.5236, allocations: 122 kB / 1.149 GB, free: 4.871 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.5244, allocations: 0.7352 MB / 1.15 GB, free: 4.633 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5244, allocations: 4 kB / 1.15 GB, free: 4.629 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5244, allocations: 0 / 1.15 GB, free: 4.629 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5244, allocations: 3.938 kB / 1.15 GB, free: 4.625 MB / 1.01 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.0006726/0.525, allocations: 0.5866 MB / 1.151 GB, free: 4.172 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5251, allocations: 10.53 kB / 1.151 GB, free: 4.172 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.5251, allocations: 55.34 kB / 1.151 GB, free: 4.121 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.5257, allocations: 155.8 kB / 1.151 GB, free: 4.09 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.5261, allocations: 270.3 kB / 1.151 GB, free: 3.883 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.5261, allocations: 18.78 kB / 1.151 GB, free: 3.875 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.5261, allocations: 19.38 kB / 1.151 GB, free: 3.871 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.5265, allocations: 291.3 kB / 1.151 GB, free: 3.719 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5265, allocations: 7.938 kB / 1.151 GB, free: 3.711 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5265, allocations: 10.7 kB / 1.151 GB, free: 3.703 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5265, allocations: 5.25 kB / 1.151 GB, free: 3.703 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.5268, allocations: 204.7 kB / 1.152 GB, free: 3.648 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.5278, allocations: 0.9905 MB / 1.153 GB, free: 2.887 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.528, allocations: 140.9 kB / 1.153 GB, free: 2.824 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.5281, allocations: 90.23 kB / 1.153 GB, free: 2.793 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.5283, allocations: 70.95 kB / 1.153 GB, free: 2.789 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.5284, allocations: 43.86 kB / 1.153 GB, free: 2.742 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.5284, allocations: 0 / 1.153 GB, free: 2.742 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0004978/0.5289, allocations: 299.5 kB / 1.153 GB, free: 2.629 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.5289, allocations: 53.66 kB / 1.153 GB, free: 2.566 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.5292, allocations: 315.5 kB / 1.154 GB, free: 2.398 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5292, allocations: 30.86 kB / 1.154 GB, free: 2.363 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.5293, allocations: 187.8 kB / 1.154 GB, free: 2.203 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5293, allocations: 59.64 kB / 1.154 GB, free: 2.156 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.5294, allocations: 47.14 kB / 1.154 GB, free: 2.125 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.5295, allocations: 340.2 kB / 1.154 GB, free: 1.801 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.5296, allocations: 68.84 kB / 1.154 GB, free: 1.781 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.53, allocations: 206.2 kB / 1.154 GB, free: 1.617 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.5302, allocations: 203.5 kB / 1.155 GB, free: 1.508 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5302, allocations: 0 / 1.155 GB, free: 1.508 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003071/0.5305, allocations: 260.8 kB / 1.155 GB, free: 1.391 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.5306, allocations: 5.719 kB / 1.155 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5306, allocations: 2.484 kB / 1.155 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5306, allocations: 2.188 kB / 1.155 GB, free: 1.391 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5307, allocations: 44.95 kB / 1.155 GB, free: 1.387 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5307, allocations: 9.812 kB / 1.155 GB, free: 1.383 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.5308, allocations: 34.67 kB / 1.155 GB, free: 1.363 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.5308, allocations: 8.016 kB / 1.155 GB, free: 1.363 MB / 1.01 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.0001007/0.5309, allocations: 148.7 kB / 1.155 GB, free: 1.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.531, allocations: 35.2 kB / 1.155 GB, free: 1.211 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.5313, allocations: 228.3 kB / 1.155 GB, free: 1.113 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5313, allocations: 2.188 kB / 1.155 GB, free: 1.113 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5313, allocations: 7.938 kB / 1.155 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5313, allocations: 1.219 kB / 1.155 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.532, allocations: 0.6636 MB / 1.156 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.532, allocations: 2.719 kB / 1.156 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.697e-05/0.5321, allocations: 36.72 kB / 1.156 GB, free: 0.6367 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5321, allocations: 2.531 kB / 1.156 GB, free: 0.6367 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.5321, allocations: 11.3 kB / 1.156 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.5321, allocations: 2.844 kB / 1.156 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5321, allocations: 6.125 kB / 1.156 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.5325, allocations: 440.7 kB / 1.157 GB, free: 360 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.5326, allocations: 46.39 kB / 1.157 GB, free: 336 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.5326, allocations: 12.88 kB / 1.157 GB, free: 328 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.5327, allocations: 7.047 kB / 1.157 GB, free: 328 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.5328, allocations: 20.73 kB / 1.157 GB, free: 320 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.5328, allocations: 5.781 kB / 1.157 GB, free: 320 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001709/0.5329, allocations: 228.5 kB / 1.157 GB, free: 200 kB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5329, allocations: 0 / 1.157 GB, free: 200 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.000264/0.5332, allocations: 89.52 kB / 1.157 GB, free: 180 kB / 1.01 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.0007743/0.534, allocations: 1.032 MB / 1.158 GB, free: 15.34 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.5343, allocations: 173.2 kB / 1.158 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5343, allocations: 1.188 kB / 1.158 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5344, allocations: 93.86 kB / 1.158 GB, free: 15.27 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.5349, allocations: 156.4 kB / 1.158 GB, free: 15.23 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.5376, allocations: 2.954 MB / 1.161 GB, free: 13.27 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.5377, allocations: 176.8 kB / 1.161 GB, free: 13.18 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.5379, allocations: 62.17 kB / 1.161 GB, free: 13.17 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.538, allocations: 90.28 kB / 1.162 GB, free: 13.11 MB / 1.026 GB Notification: Performance of SimCode: time 7.12e-07/0.538, allocations: 5.469 kB / 1.162 GB, free: 13.11 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.5624, allocations: 10.06 MB / 1.171 GB, free: 11.5 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.495/7.058, allocations: 6.531 kB / 1.171 GB, free: 11.49 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senDyn.port_a.m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.port_a.m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senDyn.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senDyn.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! Error: Could not read variable senSteSta.v in file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv. Warning: Get data of variable senSteSta.v from file Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.979804002679884]