Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.00105/0.00105, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009018/0.0009018, allocations: 165.9 kB / 22.45 MB, free: 2.117 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.8906/0.8906, allocations: 177.2 MB / 202.8 MB, free: 5.719 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.778/1.778, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.284e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.6292/0.6293, allocations: 153.5 MB / 1.15 GB, free: 3.73 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007202/0.6365, allocations: 8.606 MB / 1.158 GB, free: 13.95 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.6368, allocations: 14.44 kB / 1.158 GB, free: 13.94 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.6375, allocations: 202 kB / 1.158 GB, free: 13.8 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.6378, allocations: 98.83 kB / 1.158 GB, free: 13.74 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.638, allocations: 63.33 kB / 1.158 GB, free: 13.7 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.6384, allocations: 334.2 kB / 1.159 GB, free: 13.54 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.6387, allocations: 98.27 kB / 1.159 GB, free: 13.49 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005319/0.6393, allocations: 216 kB / 1.159 GB, free: 13.4 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.6394, allocations: 75.83 kB / 1.159 GB, free: 13.37 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.6394, allocations: 20.69 kB / 1.159 GB, free: 13.37 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.6394, allocations: 15.03 kB / 1.159 GB, free: 13.37 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.6395, allocations: 44.44 kB / 1.159 GB, free: 13.34 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 7.745e-05/0.6396, allocations: 64.3 kB / 1.159 GB, free: 13.31 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.6398, allocations: 214.3 kB / 1.159 GB, free: 13.22 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6398, allocations: 0 / 1.159 GB, free: 13.22 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6398, allocations: 1.062 kB / 1.159 GB, free: 13.22 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6398, allocations: 0 / 1.159 GB, free: 13.22 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004106/0.6402, allocations: 401.9 kB / 1.16 GB, free: 12.87 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.6403, allocations: 10.06 kB / 1.16 GB, free: 12.87 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/0.6403, allocations: 57.67 kB / 1.16 GB, free: 12.81 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.6404, allocations: 28.27 kB / 1.16 GB, free: 12.8 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.6407, allocations: 197.2 kB / 1.16 GB, free: 12.62 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.6407, allocations: 13.03 kB / 1.16 GB, free: 12.62 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.6407, allocations: 20.03 kB / 1.16 GB, free: 12.61 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.641, allocations: 227.8 kB / 1.16 GB, free: 12.45 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.641, allocations: 9.094 kB / 1.16 GB, free: 12.45 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.641, allocations: 11.12 kB / 1.16 GB, free: 12.44 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.6411, allocations: 6 kB / 1.16 GB, free: 12.44 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.6412, allocations: 90.27 kB / 1.16 GB, free: 12.4 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008807/0.6421, allocations: 1.365 MB / 1.162 GB, free: 11.12 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.6422, allocations: 176.1 kB / 1.162 GB, free: 10.95 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.6422, allocations: 80.14 kB / 1.162 GB, free: 10.86 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6422, allocations: 79.38 kB / 1.162 GB, free: 10.79 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.6422, allocations: 111.7 kB / 1.162 GB, free: 10.67 MB / 1.026 GB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.6423, allocations: 4 kB / 1.162 GB, free: 10.67 MB / 1.026 GB Notification: Performance of matching and sorting (n=0): time 9.132e-05/0.6423, allocations: 48.53 kB / 1.162 GB, free: 10.62 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.6424, allocations: 128.4 kB / 1.162 GB, free: 10.49 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.6427, allocations: 287.2 kB / 1.163 GB, free: 10.32 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.6428, allocations: 26.73 kB / 1.163 GB, free: 10.29 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.6429, allocations: 146.6 kB / 1.163 GB, free: 10.16 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.917e-06/0.6429, allocations: 0 / 1.163 GB, free: 10.16 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.6429, allocations: 23.27 kB / 1.163 GB, free: 10.14 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.643, allocations: 330.6 kB / 1.163 GB, free: 9.816 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.643, allocations: 3.344 kB / 1.163 GB, free: 9.816 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.6431, allocations: 33.33 kB / 1.163 GB, free: 9.777 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.6431, allocations: 39.3 kB / 1.163 GB, free: 9.734 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.6431, allocations: 3.938 kB / 1.163 GB, free: 9.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001549/0.6433, allocations: 77.92 kB / 1.163 GB, free: 9.676 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6433, allocations: 4.844 kB / 1.163 GB, free: 9.676 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6433, allocations: 1.938 kB / 1.163 GB, free: 9.676 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6433, allocations: 1.031 kB / 1.163 GB, free: 9.676 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.6434, allocations: 10.75 kB / 1.163 GB, free: 9.672 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.6434, allocations: 1.406 kB / 1.163 GB, free: 9.672 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/0.6434, allocations: 18.64 kB / 1.163 GB, free: 9.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.6434, allocations: 2.312 kB / 1.163 GB, free: 9.66 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 9.216e-05/0.6435, allocations: 209.2 kB / 1.164 GB, free: 9.453 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.6436, allocations: 124.1 kB / 1.164 GB, free: 9.336 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.6438, allocations: 134.3 kB / 1.164 GB, free: 9.207 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.604e-05/0.6438, allocations: 182.3 kB / 1.164 GB, free: 9.023 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-05/0.6439, allocations: 177.9 kB / 1.164 GB, free: 8.844 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/0.6439, allocations: 182.2 kB / 1.164 GB, free: 8.66 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.6441, allocations: 439.3 kB / 1.165 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/0.6442, allocations: 102.8 kB / 1.165 GB, free: 8.117 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.6442, allocations: 110.9 kB / 1.165 GB, free: 8.004 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.221e-05/0.6442, allocations: 178.9 kB / 1.165 GB, free: 7.824 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.6443, allocations: 182.1 kB / 1.165 GB, free: 7.641 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.076e-05/0.6443, allocations: 182.8 kB / 1.165 GB, free: 7.457 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-05/0.6443, allocations: 177.8 kB / 1.166 GB, free: 7.277 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.6445, allocations: 327.3 kB / 1.166 GB, free: 6.949 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.6445, allocations: 129.7 kB / 1.166 GB, free: 6.824 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6446, allocations: 179.1 kB / 1.166 GB, free: 6.645 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.6446, allocations: 108 kB / 1.166 GB, free: 6.535 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.6447, allocations: 187.1 kB / 1.166 GB, free: 6.348 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.6447, allocations: 103.5 kB / 1.167 GB, free: 6.242 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001629/0.6449, allocations: 205.5 kB / 1.167 GB, free: 6.129 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/0.6449, allocations: 0 / 1.167 GB, free: 6.129 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0001644/0.645, allocations: 25.86 kB / 1.167 GB, free: 6.125 MB / 1.026 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.0003033/0.6453, allocations: 0.8292 MB / 1.168 GB, free: 5.301 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 7.326e-05/0.6454, allocations: 11.55 kB / 1.168 GB, free: 5.297 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6454, allocations: 1.406 kB / 1.168 GB, free: 5.297 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.6454, allocations: 8 kB / 1.168 GB, free: 5.289 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.6459, allocations: 0.5271 MB / 1.168 GB, free: 4.824 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.6478, allocations: 2.24 MB / 1.17 GB, free: 3.133 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.6479, allocations: 115.1 kB / 1.17 GB, free: 3.055 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 7.756e-05/0.648, allocations: 18.98 kB / 1.17 GB, free: 3.055 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.6481, allocations: 59.78 kB / 1.171 GB, free: 3.012 MB / 1.026 GB Notification: Performance of SimCode: time 9.62e-07/0.6481, allocations: 0 / 1.171 GB, free: 3.012 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.6726, allocations: 5.651 MB / 1.176 GB, free: 1.762 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.538, allocations: 9.047 kB / 1.176 GB, free: 1.758 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.670617554336786]