Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.223/2.223, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5372, allocations: 140.4 MB / 0.9497 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1578/0.6951, allocations: 170.3 MB / 1.116 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.7004, allocations: 5.987 MB / 1.122 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.7006, allocations: 7.938 kB / 1.122 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.7011, allocations: 190.7 kB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.7014, allocations: 87.44 kB / 1.122 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009574/0.7024, allocations: 0.5216 MB / 1.123 GB, free: 108 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.7028, allocations: 418.6 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.703, allocations: 135.6 kB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.7033, allocations: 191.4 kB / 1.123 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.7035, allocations: 143.4 kB / 1.124 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.7035, allocations: 16 kB / 1.124 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.7042, allocations: 458.8 kB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.7043, allocations: 63.81 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.7044, allocations: 111.4 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.7049, allocations: 446.7 kB / 1.125 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.7049, allocations: 4 kB / 1.125 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7049, allocations: 4 kB / 1.125 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7049, allocations: 0 / 1.125 GB, free: 14.15 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004942/0.7054, allocations: 0.5146 MB / 1.125 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.7055, allocations: 12.03 kB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.721e-05/0.7055, allocations: 62.48 kB / 1.125 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.7058, allocations: 39.7 kB / 1.125 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.706, allocations: 260.3 kB / 1.125 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.7062, allocations: 135.4 kB / 1.126 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.7062, allocations: 24 kB / 1.126 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.7066, allocations: 294.8 kB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.7066, allocations: 3.938 kB / 1.126 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.7067, allocations: 15.98 kB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.7067, allocations: 4 kB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/0.707, allocations: 156.6 kB / 1.126 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.7081, allocations: 1.587 MB / 1.128 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.264e-05/0.7082, allocations: 169.1 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.7082, allocations: 84.08 kB / 1.128 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.7082, allocations: 75.28 kB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.7083, allocations: 113.8 kB / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.7083, allocations: 0 / 1.128 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.846e-05/0.7084, allocations: 49.42 kB / 1.128 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.7084, allocations: 126.7 kB / 1.128 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.7087, allocations: 310.6 kB / 1.128 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.7088, allocations: 25.7 kB / 1.129 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.7089, allocations: 191.2 kB / 1.129 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.7089, allocations: 0 / 1.129 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.7089, allocations: 53.61 kB / 1.129 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.709, allocations: 326.8 kB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.7091, allocations: 39.91 kB / 1.129 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.7093, allocations: 162.6 kB / 1.129 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.7095, allocations: 196.9 kB / 1.129 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7095, allocations: 4 kB / 1.129 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003625/0.7098, allocations: 209.6 kB / 1.13 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7099, allocations: 8 kB / 1.13 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.7099, allocations: 15.98 kB / 1.13 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.7099, allocations: 4 kB / 1.13 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.71, allocations: 43.86 kB / 1.13 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7101, allocations: 11.94 kB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.7102, allocations: 31.59 kB / 1.13 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.7103, allocations: 12 kB / 1.13 GB, free: 8.391 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001174/0.7104, allocations: 224.9 kB / 1.13 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.7105, allocations: 124.7 kB / 1.13 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/0.7105, allocations: 121.8 kB / 1.13 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/0.7106, allocations: 184.2 kB / 1.13 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/0.7106, allocations: 180.3 kB / 1.131 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/0.7107, allocations: 184.2 kB / 1.131 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.7109, allocations: 481.1 kB / 1.131 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.711, allocations: 112.9 kB / 1.131 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.711, allocations: 101 kB / 1.131 GB, free: 6.602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.604e-05/0.711, allocations: 180.2 kB / 1.132 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.7111, allocations: 180.2 kB / 1.132 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-05/0.7112, allocations: 188.2 kB / 1.132 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.214e-05/0.7112, allocations: 184.2 kB / 1.132 GB, free: 5.855 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.7113, allocations: 311.6 kB / 1.132 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.7114, allocations: 217.7 kB / 1.133 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.7115, allocations: 180.2 kB / 1.133 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.7116, allocations: 105.2 kB / 1.133 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.7117, allocations: 180.3 kB / 1.133 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.7117, allocations: 109 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002024/0.7119, allocations: 217.9 kB / 1.133 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7119, allocations: 0 / 1.133 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003192/0.7123, allocations: 47.94 kB / 1.133 GB, free: 4.441 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004882/0.7128, allocations: 0.8709 MB / 1.134 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.7129, allocations: 83.78 kB / 1.134 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7129, allocations: 0 / 1.134 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/0.7129, allocations: 0 / 1.134 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.7134, allocations: 485.5 kB / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.7156, allocations: 2.507 MB / 1.137 GB, free: 288 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.7158, allocations: 0.7359 MB / 1.138 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.716, allocations: 45.86 kB / 1.138 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.7161, allocations: 55.41 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.7161, allocations: 0 / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/2.361, allocations: 3.985 MB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/11.04, allocations: 4.484 kB / 1.142 GB, free: 11.52 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches