Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.004429/0.004429, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001213/0.001213, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.597/2.597, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.89 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2627, allocations: 162.3 MB / 1.242 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6238/0.8865, allocations: 148 MB / 1.386 GB, free: 7.992 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.8911, allocations: 4.649 MB / 1.391 GB, free: 4.238 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.8913, allocations: 10.75 kB / 1.391 GB, free: 4.234 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.8917, allocations: 156.6 kB / 1.391 GB, free: 4.098 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.8919, allocations: 86.81 kB / 1.391 GB, free: 4.027 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.8921, allocations: 68.36 kB / 1.391 GB, free: 3.969 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.8924, allocations: 305.7 kB / 1.392 GB, free: 3.793 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002511/0.8927, allocations: 153 kB / 1.392 GB, free: 3.707 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.8928, allocations: 111.2 kB / 1.392 GB, free: 3.645 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.893, allocations: 154 kB / 1.392 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.893, allocations: 17.91 kB / 1.392 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.8931, allocations: 15.03 kB / 1.392 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.8932, allocations: 68.67 kB / 1.392 GB, free: 3.508 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.8933, allocations: 101.3 kB / 1.392 GB, free: 3.441 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.8935, allocations: 235.3 kB / 1.392 GB, free: 3.277 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.8935, allocations: 0 / 1.392 GB, free: 3.277 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8935, allocations: 0 / 1.392 GB, free: 3.277 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8935, allocations: 0 / 1.392 GB, free: 3.277 MB / 1.092 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.0004567/0.894, allocations: 0.4911 MB / 1.393 GB, free: 2.797 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.894, allocations: 9.219 kB / 1.393 GB, free: 2.797 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.51e-05/0.8941, allocations: 57.64 kB / 1.393 GB, free: 2.738 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.8941, allocations: 30.23 kB / 1.393 GB, free: 2.723 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.8945, allocations: 263.8 kB / 1.393 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.8945, allocations: 26.38 kB / 1.393 GB, free: 2.445 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.8945, allocations: 21.8 kB / 1.393 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.8949, allocations: 311 kB / 1.394 GB, free: 2.16 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.8949, allocations: 1.25 kB / 1.394 GB, free: 2.16 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.895, allocations: 11.91 kB / 1.394 GB, free: 2.152 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.895, allocations: 10 kB / 1.394 GB, free: 2.148 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.8951, allocations: 125.2 kB / 1.394 GB, free: 2.086 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.8964, allocations: 1.971 MB / 1.396 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.8965, allocations: 165.1 kB / 1.396 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.8966, allocations: 81.42 kB / 1.396 GB, free: 15.89 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.8966, allocations: 75.28 kB / 1.396 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.8967, allocations: 111 kB / 1.396 GB, free: 15.7 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 2.905e-06/0.8967, allocations: 4 kB / 1.396 GB, free: 15.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 7.848e-05/0.8967, allocations: 60.53 kB / 1.396 GB, free: 15.64 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.8968, allocations: 127.9 kB / 1.396 GB, free: 15.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.8972, allocations: 326.3 kB / 1.397 GB, free: 15.29 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.8972, allocations: 30.94 kB / 1.397 GB, free: 15.26 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.8973, allocations: 160.3 kB / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-06/0.8973, allocations: 1.094 kB / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.8974, allocations: 23.84 kB / 1.397 GB, free: 15.09 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.8975, allocations: 336 kB / 1.397 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.8975, allocations: 4.531 kB / 1.397 GB, free: 14.75 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.8976, allocations: 59.86 kB / 1.397 GB, free: 14.68 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.8976, allocations: 67.53 kB / 1.397 GB, free: 14.6 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8977, allocations: 0.8125 kB / 1.397 GB, free: 14.6 MB / 1.107 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001586/0.8978, allocations: 113.8 kB / 1.397 GB, free: 14.52 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.8978, allocations: 5.031 kB / 1.397 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.8978, allocations: 2.531 kB / 1.397 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8979, allocations: 6.531 kB / 1.397 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.8979, allocations: 11.56 kB / 1.397 GB, free: 14.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.898, allocations: 10.23 kB / 1.397 GB, free: 14.51 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-05/0.898, allocations: 29.7 kB / 1.397 GB, free: 14.49 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.8981, allocations: 3.688 kB / 1.397 GB, free: 14.49 MB / 1.107 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 0.0001302/0.8982, allocations: 218.1 kB / 1.398 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.8983, allocations: 123.8 kB / 1.398 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.593e-05/0.8984, allocations: 134.8 kB / 1.398 GB, free: 14.03 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/0.8984, allocations: 177.3 kB / 1.398 GB, free: 13.85 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.972e-05/0.8985, allocations: 185.4 kB / 1.398 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/0.8986, allocations: 185.3 kB / 1.398 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.8989, allocations: 478.9 kB / 1.399 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.8989, allocations: 109.9 kB / 1.399 GB, free: 12.87 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.899, allocations: 102.1 kB / 1.399 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.251e-05/0.8991, allocations: 185.4 kB / 1.399 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.8991, allocations: 185.3 kB / 1.399 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.495e-05/0.8992, allocations: 181.4 kB / 1.4 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-05/0.8993, allocations: 185 kB / 1.4 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.8994, allocations: 329.6 kB / 1.4 GB, free: 11.68 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.8995, allocations: 197.2 kB / 1.4 GB, free: 11.47 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.491e-05/0.8996, allocations: 194.4 kB / 1.4 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.8998, allocations: 105.8 kB / 1.4 GB, free: 11.17 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.8998, allocations: 177.3 kB / 1.401 GB, free: 10.99 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.8999, allocations: 105.9 kB / 1.401 GB, free: 10.88 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002146/0.9001, allocations: 236.3 kB / 1.401 GB, free: 10.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9001, allocations: 1.156 kB / 1.401 GB, free: 10.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002578/0.9004, allocations: 28.34 kB / 1.401 GB, free: 10.73 MB / 1.107 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.0004084/0.9008, allocations: 0.8322 MB / 1.402 GB, free: 9.898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.9009, allocations: 38.55 kB / 1.402 GB, free: 9.875 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.9009, allocations: 0.5 kB / 1.402 GB, free: 9.875 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.9009, allocations: 4 kB / 1.402 GB, free: 9.871 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006472/0.9015, allocations: 0.5229 MB / 1.402 GB, free: 9.387 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.9038, allocations: 2.51 MB / 1.405 GB, free: 7.41 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.9041, allocations: 0.7447 MB / 1.406 GB, free: 6.68 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 7.2e-05/0.9042, allocations: 26.53 kB / 1.406 GB, free: 6.668 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.9043, allocations: 57.23 kB / 1.406 GB, free: 6.621 MB / 1.107 GB Notification: Performance of SimCode: time 2.5e-07/0.9043, allocations: 0 / 1.406 GB, free: 6.621 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.081/1.985, allocations: 4.82 MB / 1.41 GB, free: 4.242 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/14.21, allocations: 5.75 kB / 1.41 GB, free: 4.242 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches