Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001279/0.001279, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001494/0.001494, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [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.002064/0.002064, allocations: 67.91 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2501/1.274, allocations: 170.9 MB / 1.446 GB, free: 1.02 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.003321/1.277, allocations: 1.564 MB / 1.447 GB, free: 15.45 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004662/1.278, allocations: 15.88 kB / 1.447 GB, free: 15.44 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005893/1.279, allocations: 150.8 kB / 1.447 GB, free: 15.29 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002021/1.281, allocations: 0.7468 MB / 1.448 GB, free: 14.54 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/1.282, allocations: 0.6075 MB / 1.449 GB, free: 13.93 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001092/1.283, allocations: 0.7215 MB / 1.45 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/1.284, allocations: 204.8 kB / 1.45 GB, free: 13.01 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/1.285, allocations: 362.7 kB / 1.45 GB, free: 12.65 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/1.285, allocations: 239 kB / 1.45 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/1.285, allocations: 24 kB / 1.45 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/1.287, allocations: 0.9273 MB / 1.451 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/1.287, allocations: 115.6 kB / 1.451 GB, free: 11.35 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/1.287, allocations: 171.1 kB / 1.451 GB, free: 11.18 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/1.289, allocations: 0.7417 MB / 1.452 GB, free: 10.44 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.289, allocations: 0 / 1.452 GB, free: 10.44 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.884e-06/1.289, allocations: 0 / 1.452 GB, free: 10.44 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.289, allocations: 0 / 1.452 GB, free: 10.44 MB / 1.139 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.00124/1.29, allocations: 0.6717 MB / 1.453 GB, free: 9.723 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.29, allocations: 12.03 kB / 1.453 GB, free: 9.711 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.276e-05/1.29, allocations: 12.5 kB / 1.453 GB, free: 9.699 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.089e-05/1.29, allocations: 58.55 kB / 1.453 GB, free: 9.633 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/1.291, allocations: 159.6 kB / 1.453 GB, free: 9.477 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/1.292, allocations: 330.8 kB / 1.453 GB, free: 9.117 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.292, allocations: 20.5 kB / 1.453 GB, free: 9.094 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/1.292, allocations: 24 kB / 1.453 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/1.293, allocations: 277.9 kB / 1.454 GB, free: 8.777 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.293, allocations: 3.938 kB / 1.454 GB, free: 8.773 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/1.293, allocations: 8 kB / 1.454 GB, free: 8.766 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/1.293, allocations: 8 kB / 1.454 GB, free: 8.758 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/1.293, allocations: 204.9 kB / 1.454 GB, free: 8.559 MB / 1.139 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.001677/1.295, allocations: 1.231 MB / 1.455 GB, free: 7.223 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/1.295, allocations: 142.4 kB / 1.455 GB, free: 7.074 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/1.296, allocations: 92.8 kB / 1.455 GB, free: 6.98 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/1.296, allocations: 307.2 kB / 1.456 GB, free: 6.625 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.296, allocations: 30.56 kB / 1.456 GB, free: 6.586 MB / 1.139 GB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/1.296, allocations: 4 kB / 1.456 GB, free: 6.582 MB / 1.139 GB Notification: Performance of matching and sorting (n=17): time 0.0008581/1.297, allocations: 295.8 kB / 1.456 GB, free: 6.289 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.297, allocations: 59.39 kB / 1.456 GB, free: 6.219 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/1.298, allocations: 320.5 kB / 1.456 GB, free: 5.895 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/1.298, allocations: 25.7 kB / 1.456 GB, free: 5.863 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.298, allocations: 188.3 kB / 1.457 GB, free: 5.676 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/1.298, allocations: 63.48 kB / 1.457 GB, free: 5.613 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/1.298, allocations: 49.66 kB / 1.457 GB, free: 5.559 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.298, allocations: 342.8 kB / 1.457 GB, free: 5.215 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.298, allocations: 71.94 kB / 1.457 GB, free: 5.145 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/1.298, allocations: 133.7 kB / 1.457 GB, free: 4.996 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/1.299, allocations: 195.6 kB / 1.457 GB, free: 4.789 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.299, allocations: 4 kB / 1.457 GB, free: 4.785 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005118/1.299, allocations: 249.3 kB / 1.458 GB, free: 4.535 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.299, allocations: 8 kB / 1.458 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.299, allocations: 0 / 1.458 GB, free: 4.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.299, allocations: 4 kB / 1.458 GB, free: 4.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/1.3, allocations: 51.86 kB / 1.458 GB, free: 4.473 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.3, allocations: 3.984 kB / 1.458 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/1.3, allocations: 31.78 kB / 1.458 GB, free: 4.438 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.3, allocations: 16.08 kB / 1.458 GB, free: 4.422 MB / 1.139 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.0001614/1.3, allocations: 149.7 kB / 1.458 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/1.3, allocations: 31.95 kB / 1.458 GB, free: 4.234 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/1.301, allocations: 230.9 kB / 1.458 GB, free: 4.004 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/1.301, allocations: 0 / 1.458 GB, free: 4.004 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.301, allocations: 0 / 1.458 GB, free: 4.004 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.301, allocations: 7.922 kB / 1.458 GB, free: 3.996 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/1.302, allocations: 0.7109 MB / 1.459 GB, free: 3.207 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.302, allocations: 4 kB / 1.459 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/1.302, allocations: 35.92 kB / 1.459 GB, free: 3.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/1.302, allocations: 4 kB / 1.459 GB, free: 3.164 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/1.302, allocations: 7.938 kB / 1.459 GB, free: 3.156 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.302, allocations: 4 kB / 1.459 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.302, allocations: 0 / 1.459 GB, free: 3.152 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/1.303, allocations: 449.1 kB / 1.459 GB, free: 2.676 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/1.303, allocations: 136.9 kB / 1.459 GB, free: 2.523 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/1.303, allocations: 7.938 kB / 1.459 GB, free: 2.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/1.303, allocations: 15.98 kB / 1.459 GB, free: 2.5 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/1.303, allocations: 15.92 kB / 1.459 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/1.303, allocations: 8 kB / 1.459 GB, free: 2.477 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002648/1.304, allocations: 231 kB / 1.46 GB, free: 2.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.304, allocations: 0 / 1.46 GB, free: 2.25 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004228/1.304, allocations: 79.94 kB / 1.46 GB, free: 2.172 MB / 1.139 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.001323/1.305, allocations: 1.036 MB / 1.461 GB, free: 1.086 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005015/1.306, allocations: 187.8 kB / 1.461 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.306, allocations: 0 / 1.461 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/1.306, allocations: 91.77 kB / 1.461 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009403/1.307, allocations: 164.7 kB / 1.461 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/1.311, allocations: 3.002 MB / 1.464 GB, free: 13.51 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/1.312, allocations: 0.7795 MB / 1.465 GB, free: 12.7 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002348/1.312, allocations: 70.91 kB / 1.465 GB, free: 12.64 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/1.312, allocations: 95.34 kB / 1.465 GB, free: 12.54 MB / 1.154 GB Notification: Performance of SimCode: time 9.02e-07/1.312, allocations: 0 / 1.465 GB, free: 12.54 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/1.344, allocations: 9.064 MB / 1.474 GB, free: 3.672 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/10.47, allocations: 11.23 kB / 1.474 GB, free: 3.664 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_Velocity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.81604448601138]