Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_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.0009737/0.0009737, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001875/0.001875, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.282/1.282, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.028/2.028, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4795, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1319/0.6114, allocations: 145.8 MB / 1.091 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.6159, allocations: 4.608 MB / 1.096 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.6161, allocations: 11.94 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.6166, allocations: 131.1 kB / 1.096 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.6169, allocations: 79.58 kB / 1.096 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001392/0.617, allocations: 55.95 kB / 1.096 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003717/0.6174, allocations: 370.5 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.6177, allocations: 132.1 kB / 1.097 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.6178, allocations: 99.58 kB / 1.097 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.6181, allocations: 163.3 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.6181, allocations: 15.98 kB / 1.097 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.6181, allocations: 12 kB / 1.097 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.151e-05/0.6182, allocations: 55.83 kB / 1.097 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.791e-05/0.6183, allocations: 95.48 kB / 1.097 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.6185, allocations: 225.4 kB / 1.097 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6185, allocations: 0 / 1.097 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.42e-07/0.6185, allocations: 4 kB / 1.097 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6185, allocations: 0 / 1.097 GB, free: 9.695 MB / 0.8575 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.000435/0.619, allocations: 491.1 kB / 1.098 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.619, allocations: 8.031 kB / 1.098 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.6191, allocations: 58.73 kB / 1.098 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.6191, allocations: 28.66 kB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.6194, allocations: 253.2 kB / 1.098 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.6194, allocations: 16.81 kB / 1.098 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.6194, allocations: 24.38 kB / 1.098 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.6198, allocations: 308.8 kB / 1.098 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6198, allocations: 7.938 kB / 1.098 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6198, allocations: 15.98 kB / 1.098 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6199, allocations: 4 kB / 1.099 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.62, allocations: 123.7 kB / 1.099 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.6212, allocations: 1.973 MB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.514e-05/0.6213, allocations: 169.1 kB / 1.101 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.6214, allocations: 80.14 kB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.6214, allocations: 75.28 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.6214, allocations: 117.8 kB / 1.101 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.6214, allocations: 0 / 1.101 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.729e-05/0.6215, allocations: 53.34 kB / 1.101 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.6216, allocations: 134.6 kB / 1.101 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.6219, allocations: 324.5 kB / 1.101 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.6219, allocations: 25.7 kB / 1.101 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.6221, allocations: 167.6 kB / 1.102 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-06/0.6221, allocations: 4 kB / 1.102 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.6221, allocations: 21.72 kB / 1.102 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6222, allocations: 334.8 kB / 1.102 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.6222, allocations: 8 kB / 1.102 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.6223, allocations: 62.83 kB / 1.102 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.6224, allocations: 70.75 kB / 1.102 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6224, allocations: 4 kB / 1.102 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001614/0.6226, allocations: 101.3 kB / 1.102 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6226, allocations: 11.94 kB / 1.102 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6226, allocations: 3.938 kB / 1.102 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6226, allocations: 4 kB / 1.102 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.6227, allocations: 12 kB / 1.102 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6227, allocations: 0 / 1.102 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.6228, allocations: 35.84 kB / 1.102 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.6228, allocations: 4 kB / 1.102 GB, free: 4.227 MB / 0.8575 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.0001264/0.6229, allocations: 213 kB / 1.102 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.623, allocations: 124.8 kB / 1.103 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.489e-05/0.623, allocations: 134 kB / 1.103 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.538e-05/0.6231, allocations: 180.2 kB / 1.103 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/0.6232, allocations: 180.3 kB / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/0.6232, allocations: 180.2 kB / 1.103 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.6235, allocations: 477.1 kB / 1.104 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/0.6236, allocations: 101 kB / 1.104 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.6236, allocations: 112.9 kB / 1.104 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.703e-05/0.6237, allocations: 180.3 kB / 1.104 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.6237, allocations: 196.1 kB / 1.104 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-05/0.6238, allocations: 176.5 kB / 1.104 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.827e-05/0.6238, allocations: 184.2 kB / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.624, allocations: 327.5 kB / 1.105 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.326e-05/0.6241, allocations: 209.8 kB / 1.105 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.6242, allocations: 184.2 kB / 1.105 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.6243, allocations: 101 kB / 1.105 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.6243, allocations: 184.2 kB / 1.106 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.6244, allocations: 105 kB / 1.106 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002071/0.6246, allocations: 243 kB / 1.106 GB, free: 304 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6246, allocations: 4 kB / 1.106 GB, free: 300 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002583/0.6248, allocations: 27.94 kB / 1.106 GB, free: 272 kB / 0.8575 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.0003481/0.6252, allocations: 0.8318 MB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.6253, allocations: 28.19 kB / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6253, allocations: 0 / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-06/0.6253, allocations: 0 / 1.107 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.626, allocations: 0.5948 MB / 1.107 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6283, allocations: 2.571 MB / 1.11 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.6286, allocations: 0.7482 MB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.337e-05/0.6287, allocations: 26.3 kB / 1.111 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.769e-05/0.6288, allocations: 59.41 kB / 1.111 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.6288, allocations: 0 / 1.111 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9605/1.589, allocations: 4.515 MB / 1.115 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/1.59, allocations: 209.1 kB / 1.115 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/4.404, allocations: 3.938 kB / 1.115 GB, free: 6.609 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches