Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001744/0.001744, allocations: 103.7 kB / 16.45 MB, free: 6.445 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.001969/0.001969, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002909/0.002909, allocations: 63.89 kB / 1.056 GB, free: 2.488 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.357, allocations: 160.7 MB / 1.213 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.9379/1.295, allocations: 167.9 MB / 1.377 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003624/1.299, allocations: 1.552 MB / 1.378 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/1.299, allocations: 15.41 kB / 1.378 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/1.3, allocations: 154.5 kB / 1.379 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/1.302, allocations: 0.7353 MB / 1.379 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/1.304, allocations: 0.6031 MB / 1.38 GB, free: 9.234 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001039/1.305, allocations: 0.6976 MB / 1.381 GB, free: 8.922 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/1.305, allocations: 197.1 kB / 1.381 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/1.306, allocations: 340.9 kB / 1.381 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/1.306, allocations: 236.1 kB / 1.381 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/1.306, allocations: 26.53 kB / 1.381 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/1.308, allocations: 0.9312 MB / 1.382 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/1.308, allocations: 107.8 kB / 1.382 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/1.308, allocations: 172.3 kB / 1.382 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001285/1.31, allocations: 0.7141 MB / 1.383 GB, free: 7.773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.31, allocations: 1.375 kB / 1.383 GB, free: 7.773 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/1.31, allocations: 0 / 1.383 GB, free: 7.773 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.275e-05/1.31, allocations: 0 / 1.383 GB, free: 7.773 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001046/1.311, allocations: 0.6669 MB / 1.384 GB, free: 7.176 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.311, allocations: 9.25 kB / 1.384 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.89e-05/1.311, allocations: 54.17 kB / 1.384 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.312, allocations: 161 kB / 1.384 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/1.313, allocations: 325.6 kB / 1.384 GB, free: 6.734 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/1.313, allocations: 18.5 kB / 1.384 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/1.313, allocations: 21.84 kB / 1.384 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/1.313, allocations: 279.9 kB / 1.385 GB, free: 6.531 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.313, allocations: 4 kB / 1.385 GB, free: 6.527 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.313, allocations: 10.16 kB / 1.385 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.313, allocations: 6.406 kB / 1.385 GB, free: 6.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/1.314, allocations: 208.7 kB / 1.385 GB, free: 6.418 MB / 1.061 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.001651/1.315, allocations: 1.2 MB / 1.386 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/1.316, allocations: 133.8 kB / 1.386 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.316, allocations: 89.41 kB / 1.386 GB, free: 5.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/1.316, allocations: 305.3 kB / 1.387 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/1.316, allocations: 40.72 kB / 1.387 GB, free: 4.824 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/1.316, allocations: 0 / 1.387 GB, free: 4.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0007644/1.317, allocations: 274.2 kB / 1.387 GB, free: 4.688 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.317, allocations: 56.94 kB / 1.387 GB, free: 4.621 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/1.318, allocations: 316.5 kB / 1.387 GB, free: 4.414 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.318, allocations: 26.86 kB / 1.387 GB, free: 4.383 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/1.318, allocations: 184.9 kB / 1.387 GB, free: 4.215 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.318, allocations: 57.62 kB / 1.387 GB, free: 4.164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/1.318, allocations: 46.67 kB / 1.388 GB, free: 4.129 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002048/1.318, allocations: 338.6 kB / 1.388 GB, free: 3.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.318, allocations: 70.52 kB / 1.388 GB, free: 3.762 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/1.319, allocations: 127.5 kB / 1.388 GB, free: 3.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/1.319, allocations: 192 kB / 1.388 GB, free: 3.543 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.319, allocations: 5.312 kB / 1.388 GB, free: 3.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004932/1.319, allocations: 238.1 kB / 1.388 GB, free: 3.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.319, allocations: 4.719 kB / 1.388 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.319, allocations: 2.219 kB / 1.388 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.319, allocations: 2.25 kB / 1.388 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.32, allocations: 44.58 kB / 1.389 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.32, allocations: 6.203 kB / 1.389 GB, free: 3.395 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/1.32, allocations: 30.12 kB / 1.389 GB, free: 3.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/1.32, allocations: 19.77 kB / 1.389 GB, free: 3.363 MB / 1.061 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 (22): * Single equations (assignments): 22 * 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.0001615/1.32, allocations: 151.1 kB / 1.389 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/1.32, allocations: 30.28 kB / 1.389 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004663/1.321, allocations: 219.7 kB / 1.389 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/1.321, allocations: 0.9062 kB / 1.389 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.321, allocations: 0.9688 kB / 1.389 GB, free: 3.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.321, allocations: 4 kB / 1.389 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.322, allocations: 0.6911 MB / 1.39 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.322, allocations: 2.281 kB / 1.39 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.322, allocations: 36.25 kB / 1.39 GB, free: 2.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.322, allocations: 6.625 kB / 1.39 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.322, allocations: 7.062 kB / 1.39 GB, free: 2.469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.322, allocations: 7.406 kB / 1.39 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.322, allocations: 2.719 kB / 1.39 GB, free: 2.465 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/1.323, allocations: 435.2 kB / 1.39 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/1.323, allocations: 119.3 kB / 1.39 GB, free: 2.016 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/1.323, allocations: 11.67 kB / 1.39 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/1.323, allocations: 8.906 kB / 1.39 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/1.323, allocations: 11.64 kB / 1.39 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.323, allocations: 8.562 kB / 1.39 GB, free: 1.996 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002369/1.323, allocations: 226.5 kB / 1.39 GB, free: 1.852 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.323, allocations: 5.156 kB / 1.39 GB, free: 1.848 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004972/1.324, allocations: 77.52 kB / 1.391 GB, free: 1.836 MB / 1.061 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 (15): * Single equations (assignments): 15 * 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.001346/1.325, allocations: 1.04 MB / 1.392 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005278/1.326, allocations: 166.9 kB / 1.392 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.326, allocations: 0 / 1.392 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/1.326, allocations: 86.34 kB / 1.392 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008608/1.327, allocations: 161.7 kB / 1.392 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/1.331, allocations: 2.916 MB / 1.395 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/1.331, allocations: 0.7791 MB / 1.396 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002519/1.331, allocations: 65.73 kB / 1.396 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.332, allocations: 84.12 kB / 1.396 GB, free: 13.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.152e-06/1.332, allocations: 7.875 kB / 1.396 GB, free: 13.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03929/1.371, allocations: 8.897 MB / 1.404 GB, free: 9.289 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/10.11, allocations: 5.781 kB / 1.404 GB, free: 9.285 MB / 1.076 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.143521097954363]