Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001105, allocations: 119.1 kB / 16.42 MB, free: 6.496 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.001106/0.001106, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.262/1.262, 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.3-maint.9.1.x/package.mo): time 2.145/2.145, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7233/0.7245, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1845/0.909, allocations: 167.4 MB / 1.252 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.9116, allocations: 1.549 MB / 1.254 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.912, allocations: 11.94 kB / 1.254 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004625/0.9125, allocations: 142.9 kB / 1.254 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.9141, allocations: 0.7429 MB / 1.254 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.9156, allocations: 0.6066 MB / 1.255 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008199/0.9164, allocations: 0.7012 MB / 1.256 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.9168, allocations: 233.1 kB / 1.256 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006306/0.9174, allocations: 338.8 kB / 1.256 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.9178, allocations: 219 kB / 1.256 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.9178, allocations: 24 kB / 1.257 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.9193, allocations: 0.8806 MB / 1.257 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.9194, allocations: 99.7 kB / 1.257 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.9196, allocations: 171.1 kB / 1.258 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.9207, allocations: 0.7266 MB / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.9207, allocations: 0 / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9207, allocations: 0 / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.9207, allocations: 0 / 1.258 GB, free: 15.96 MB / 0.9981 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.0009656/0.9217, allocations: 0.6426 MB / 1.259 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9218, allocations: 15.97 kB / 1.259 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.923, allocations: 151.5 kB / 1.259 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.9235, allocations: 321.6 kB / 1.259 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.9235, allocations: 20.44 kB / 1.259 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.9236, allocations: 24 kB / 1.259 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.9241, allocations: 275.4 kB / 1.26 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.9241, allocations: 0 / 1.26 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.9241, allocations: 12 kB / 1.26 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.9241, allocations: 8 kB / 1.26 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.9245, allocations: 195.8 kB / 1.26 GB, free: 14.21 MB / 0.9981 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.001378/0.9259, allocations: 1.209 MB / 1.261 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.9262, allocations: 134.5 kB / 1.261 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.9264, allocations: 96.78 kB / 1.261 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/0.9269, allocations: 303.2 kB / 1.262 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.927, allocations: 34.5 kB / 1.262 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.927, allocations: 0 / 1.262 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007716/0.9278, allocations: 285.3 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.9278, allocations: 51.41 kB / 1.262 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.9281, allocations: 316.5 kB / 1.262 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.9282, allocations: 25.7 kB / 1.262 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.9283, allocations: 184.2 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.9283, allocations: 51.2 kB / 1.263 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.9284, allocations: 45.7 kB / 1.263 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9286, allocations: 342.8 kB / 1.263 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.9287, allocations: 63.95 kB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.929, allocations: 123.5 kB / 1.263 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.9294, allocations: 185 kB / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9294, allocations: 0 / 1.263 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000494/0.9299, allocations: 249.1 kB / 1.264 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.9299, allocations: 8 kB / 1.264 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.9299, allocations: 3.938 kB / 1.264 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.9299, allocations: 4 kB / 1.264 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.9302, allocations: 35.98 kB / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.9302, allocations: 3.938 kB / 1.264 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.9304, allocations: 35.67 kB / 1.264 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.9305, allocations: 12 kB / 1.264 GB, free: 10.19 MB / 0.9981 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.0001795/0.9306, allocations: 162.2 kB / 1.264 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.9307, allocations: 31.62 kB / 1.264 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.9312, allocations: 216.3 kB / 1.264 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9312, allocations: 0 / 1.264 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.9312, allocations: 0 / 1.264 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.9314, allocations: 112.8 kB / 1.264 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.9314, allocations: 7.984 kB / 1.264 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.9316, allocations: 19.94 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.9316, allocations: 7.984 kB / 1.264 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000508/0.9322, allocations: 279.1 kB / 1.264 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006221/0.9328, allocations: 466.3 kB / 1.265 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.933, allocations: 75.2 kB / 1.265 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001972/0.9332, allocations: 227 kB / 1.265 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of Backend: time 6.01e-07/0.9332, allocations: 0 / 1.265 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.9344, allocations: 385 kB / 1.266 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001521/0.9359, allocations: 1.111 MB / 1.267 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of Templates: time 0.01296/0.9489, allocations: 7.913 MB / 1.274 GB, free: 15.21 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches