Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.0008507/0.0008507, 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.0009592/0.0009592, 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.9276/0.9276, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.822e-05, allocations: 9.031 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5829/0.5829, allocations: 130.7 MB / 1.078 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.5861, allocations: 4.313 MB / 1.082 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.5864, allocations: 9.781 kB / 1.082 GB, free: 40.36 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004528/0.5868, allocations: 177.7 kB / 1.083 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.5872, allocations: 83.78 kB / 1.083 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.5873, allocations: 77.16 kB / 1.083 GB, free: 40.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.5876, allocations: 310.9 kB / 1.083 GB, free: 40.28 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.5878, allocations: 94.02 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.5881, allocations: 160 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.5882, allocations: 132.1 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.5882, allocations: 15.78 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.5882, allocations: 19.47 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.5883, allocations: 66.69 kB / 1.083 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.5884, allocations: 75.73 kB / 1.084 GB, free: 40.27 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.5886, allocations: 237.6 kB / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5886, allocations: 0 / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5886, allocations: 0 / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5886, allocations: 0 / 1.084 GB, free: 40.24 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0003514/0.5889, allocations: 415.7 kB / 1.084 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.589, allocations: 8.438 kB / 1.084 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.589, allocations: 57.67 kB / 1.084 GB, free: 39.88 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.589, allocations: 24.27 kB / 1.084 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.5893, allocations: 214.4 kB / 1.084 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5893, allocations: 20.42 kB / 1.084 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.5893, allocations: 22.22 kB / 1.084 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.5896, allocations: 299.5 kB / 1.085 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5896, allocations: 7.156 kB / 1.085 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5896, allocations: 15.25 kB / 1.085 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.5896, allocations: 5.781 kB / 1.085 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.5898, allocations: 123.8 kB / 1.085 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.5905, allocations: 1.89 MB / 1.087 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.5905, allocations: 170.3 kB / 1.087 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.5905, allocations: 83.3 kB / 1.087 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5906, allocations: 75.28 kB / 1.087 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.5906, allocations: 105.8 kB / 1.087 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/0.5906, allocations: 0 / 1.087 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 6.936e-05/0.5906, allocations: 56.5 kB / 1.087 GB, free: 37.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5907, allocations: 129.7 kB / 1.087 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5909, allocations: 341.9 kB / 1.088 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-06/0.5909, allocations: 29.7 kB / 1.088 GB, free: 37.05 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.591, allocations: 161.2 kB / 1.088 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-06/0.591, allocations: 4.109 kB / 1.088 GB, free: 36.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.591, allocations: 22.81 kB / 1.088 GB, free: 36.93 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.591, allocations: 336.9 kB / 1.088 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.5911, allocations: 9.547 kB / 1.088 GB, free: 36.61 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.5911, allocations: 64.52 kB / 1.088 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.5911, allocations: 72 kB / 1.088 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5911, allocations: 0 / 1.088 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001232/0.5913, allocations: 106.5 kB / 1.088 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5913, allocations: 5.906 kB / 1.088 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5913, allocations: 6.938 kB / 1.088 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5913, allocations: 0 / 1.088 GB, free: 36.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.5913, allocations: 20.27 kB / 1.088 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5914, allocations: 6.969 kB / 1.088 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.5914, allocations: 24.28 kB / 1.089 GB, free: 36.39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.5914, allocations: 3.031 kB / 1.089 GB, free: 36.39 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.514e-05/0.5915, allocations: 217.4 kB / 1.089 GB, free: 36.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.5915, allocations: 124.7 kB / 1.089 GB, free: 36.09 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.5915, allocations: 128.4 kB / 1.089 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5915, allocations: 183.6 kB / 1.089 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.5916, allocations: 182.6 kB / 1.089 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5916, allocations: 180.2 kB / 1.089 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.5917, allocations: 444.1 kB / 1.09 GB, free: 35.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.5917, allocations: 104 kB / 1.09 GB, free: 34.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-06/0.5917, allocations: 104.9 kB / 1.09 GB, free: 34.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.5918, allocations: 176.3 kB / 1.09 GB, free: 34.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5918, allocations: 189.8 kB / 1.09 GB, free: 34.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/0.5918, allocations: 176.3 kB / 1.091 GB, free: 34.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/0.5918, allocations: 179.1 kB / 1.091 GB, free: 34.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/0.5919, allocations: 332.7 kB / 1.091 GB, free: 33.74 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-05/0.5919, allocations: 141.2 kB / 1.091 GB, free: 33.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.5919, allocations: 182 kB / 1.091 GB, free: 33.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.602e-05/0.592, allocations: 101 kB / 1.092 GB, free: 33.33 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.592, allocations: 191.1 kB / 1.092 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.592, allocations: 101 kB / 1.092 GB, free: 33.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001604/0.5922, allocations: 239.3 kB / 1.092 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.5922, allocations: 0 / 1.092 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001993/0.5924, allocations: 24.06 kB / 1.092 GB, free: 32.96 MB / 0.9948 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.0002352/0.5926, allocations: 0.8276 MB / 1.093 GB, free: 32.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.968e-05/0.5927, allocations: 24.44 kB / 1.093 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5927, allocations: 2.531 kB / 1.093 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.5927, allocations: 0 / 1.093 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.5932, allocations: 0.5341 MB / 1.093 GB, free: 31.67 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.5951, allocations: 2.529 MB / 1.096 GB, free: 30.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.081e-05/0.5952, allocations: 136.3 kB / 1.096 GB, free: 30.01 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.5952, allocations: 29.16 kB / 1.096 GB, free: 30.01 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.5953, allocations: 63.33 kB / 1.096 GB, free: 30 MB / 0.9948 GB Notification: Performance of SimCode: time 1.132e-06/0.5953, allocations: 0 / 1.096 GB, free: 30 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.6158, allocations: 5.736 MB / 1.102 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.932, allocations: 6.656 kB / 1.102 GB, free: 28.78 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.991389379836619]