Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.001163/0.001163, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001189/0.001189, 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.9266/0.9266, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.946/1.946, allocations: 428.6 MB / 0.6716 GB, free: 5.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 1.064 GB, free: 34.07 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.497e-05, allocations: 10.22 kB / 1.064 GB, free: 34.06 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001487/0.001512, allocations: 1.247 MB / 1.065 GB, free: 33.19 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01776/0.01927, allocations: 20.57 MB / 1.085 GB, free: 19.9 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.01933, allocations: 0 / 1.085 GB, free: 19.9 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.01935, allocations: 0 / 1.085 GB, free: 19.9 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.01966, allocations: 54.84 kB / 1.085 GB, free: 19.87 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 5.891e-06/0.01967, allocations: 0 / 1.085 GB, free: 19.87 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.01974, allocations: 20.62 kB / 1.085 GB, free: 19.86 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.01979, allocations: 0 / 1.085 GB, free: 19.86 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.01984, allocations: 12.98 kB / 1.085 GB, free: 19.85 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.01989, allocations: 2.969 kB / 1.085 GB, free: 19.85 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.0199, allocations: 2.594 kB / 1.085 GB, free: 19.85 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.0369, allocations: 10.12 MB / 1.095 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.03691, allocations: 7.984 kB / 1.095 GB, free: 15.54 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.03694, allocations: 6.719 kB / 1.095 GB, free: 15.54 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.0371, allocations: 37.53 kB / 1.095 GB, free: 15.53 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.0371, allocations: 0.7812 kB / 1.095 GB, free: 15.53 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.284e-06/0.03711, allocations: 0 / 1.095 GB, free: 15.53 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.03711, allocations: 0 / 1.095 GB, free: 15.53 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002872/0.0374, allocations: 263.3 kB / 1.095 GB, free: 15.26 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.03745, allocations: 9.312 kB / 1.095 GB, free: 15.26 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.03747, allocations: 34.89 kB / 1.096 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.0375, allocations: 2.531 kB / 1.096 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.948e-05/0.03758, allocations: 116.4 kB / 1.096 GB, free: 15.08 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.03759, allocations: 5.5 kB / 1.096 GB, free: 15.08 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.03759, allocations: 2 kB / 1.096 GB, free: 15.08 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.03768, allocations: 54.42 kB / 1.096 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.03768, allocations: 7.875 kB / 1.096 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.03769, allocations: 1.094 kB / 1.096 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.0377, allocations: 0.875 kB / 1.096 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.03773, allocations: 8.438 kB / 1.096 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.03785, allocations: 135.5 kB / 1.096 GB, free: 14.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.332e-05/0.03792, allocations: 46.53 kB / 1.096 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.03795, allocations: 23.7 kB / 1.096 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.03811, allocations: 19.3 kB / 1.096 GB, free: 14.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.03812, allocations: 32.69 kB / 1.096 GB, free: 14.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.03813, allocations: 3.938 kB / 1.096 GB, free: 14.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=4): time 0.000154/0.03828, allocations: 59.08 kB / 1.096 GB, free: 14.68 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.0383, allocations: 81.62 kB / 1.096 GB, free: 14.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.03836, allocations: 99.67 kB / 1.096 GB, free: 14.49 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.03836, allocations: 30.67 kB / 1.096 GB, free: 14.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.03839, allocations: 85.3 kB / 1.096 GB, free: 14.37 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.03842, allocations: 16.38 kB / 1.096 GB, free: 14.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.03844, allocations: 13.91 kB / 1.096 GB, free: 14.34 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.109e-05/0.03847, allocations: 315.9 kB / 1.097 GB, free: 14.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.03849, allocations: 6.391 kB / 1.097 GB, free: 14.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.0385, allocations: 15.12 kB / 1.097 GB, free: 14.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.03854, allocations: 27.03 kB / 1.097 GB, free: 13.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.03854, allocations: 1.062 kB / 1.097 GB, free: 13.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.968e-05/0.0386, allocations: 58.89 kB / 1.097 GB, free: 13.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.03862, allocations: 12.53 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.03862, allocations: 0 / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.03864, allocations: 5 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.0387, allocations: 9.219 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.0387, allocations: 5.266 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.03872, allocations: 0.625 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.03872, allocations: 1.625 kB / 1.097 GB, free: 13.93 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 3.808e-05/0.03876, allocations: 107.9 kB / 1.097 GB, free: 13.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.03877, allocations: 14.5 kB / 1.097 GB, free: 13.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.029e-05/0.03886, allocations: 58.66 kB / 1.097 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.03886, allocations: 0.75 kB / 1.097 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.03886, allocations: 0.9062 kB / 1.097 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.03887, allocations: 1.125 kB / 1.097 GB, free: 13.76 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.458e-05/0.03892, allocations: 133.7 kB / 1.097 GB, free: 13.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.03892, allocations: 0.5312 kB / 1.097 GB, free: 13.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.03894, allocations: 9.344 kB / 1.097 GB, free: 13.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.03895, allocations: 5.047 kB / 1.097 GB, free: 13.59 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.03895, allocations: 9.281 kB / 1.097 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.03895, allocations: 4.875 kB / 1.097 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.03896, allocations: 0.7188 kB / 1.097 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.476e-05/0.03902, allocations: 80.59 kB / 1.097 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.03904, allocations: 3.219 kB / 1.097 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.03905, allocations: 4.438 kB / 1.097 GB, free: 13.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.03906, allocations: 4.906 kB / 1.097 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.03908, allocations: 5.328 kB / 1.097 GB, free: 13.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.03908, allocations: 1.625 kB / 1.097 GB, free: 13.49 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.915e-05/0.03911, allocations: 83.16 kB / 1.097 GB, free: 13.41 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.03911, allocations: 0 / 1.097 GB, free: 13.41 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001585/0.03927, allocations: 27.56 kB / 1.097 GB, free: 13.4 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * 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.0002264/0.0395, allocations: 0.6297 MB / 1.098 GB, free: 12.79 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 7.19e-05/0.03957, allocations: 23.53 kB / 1.098 GB, free: 12.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.03957, allocations: 0 / 1.098 GB, free: 12.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.03958, allocations: 7.312 kB / 1.098 GB, free: 12.78 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.03981, allocations: 11.67 kB / 1.098 GB, free: 12.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/0.04049, allocations: 1.166 MB / 1.099 GB, free: 11.61 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.296e-05/0.04052, allocations: 61.69 kB / 1.099 GB, free: 11.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.04055, allocations: 9.953 kB / 1.099 GB, free: 11.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.04058, allocations: 10.59 kB / 1.099 GB, free: 11.53 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.04058, allocations: 0 / 1.099 GB, free: 11.53 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.05834, allocations: 2.522 MB / 1.102 GB, free: 10.55 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.019, allocations: 8.531 kB / 1.102 GB, free: 10.55 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.fmu > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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: 11.895916240289807]