Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.001004/0.001004, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.0078/0.0078, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004596, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5451, allocations: 142.4 MB / 0.9552 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1576/0.7027, allocations: 169.6 MB / 1.121 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008518/0.7112, allocations: 9.388 MB / 1.13 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.7115, allocations: 7.938 kB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.712, allocations: 151.1 kB / 1.13 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.7123, allocations: 87.44 kB / 1.13 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.7124, allocations: 55.95 kB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.7128, allocations: 382.6 kB / 1.131 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.7132, allocations: 201.6 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.7134, allocations: 123.4 kB / 1.131 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.7136, allocations: 87.45 kB / 1.131 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.7136, allocations: 8 kB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.526e-05/0.7136, allocations: 4 kB / 1.131 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.7137, allocations: 55.77 kB / 1.131 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.7138, allocations: 125.1 kB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.714, allocations: 262.9 kB / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.714, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.714, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.714, allocations: 0 / 1.131 GB, free: 10.18 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0003953/0.7144, allocations: 475 kB / 1.132 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.7145, allocations: 8.031 kB / 1.132 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.7146, allocations: 66.53 kB / 1.132 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.7146, allocations: 31.66 kB / 1.132 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.7149, allocations: 266.5 kB / 1.132 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.7149, allocations: 24.5 kB / 1.132 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.7149, allocations: 24 kB / 1.132 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.7153, allocations: 320 kB / 1.133 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.7153, allocations: 0 / 1.133 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.7154, allocations: 16 kB / 1.133 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.7154, allocations: 15.88 kB / 1.133 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.7156, allocations: 139.8 kB / 1.133 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.7167, allocations: 1.812 MB / 1.135 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.7168, allocations: 165.1 kB / 1.135 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.7168, allocations: 84.08 kB / 1.135 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.7168, allocations: 75.39 kB / 1.135 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.7169, allocations: 117.8 kB / 1.135 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.7169, allocations: 4 kB / 1.135 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.103e-05/0.717, allocations: 57.27 kB / 1.135 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.717, allocations: 126.7 kB / 1.135 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.7174, allocations: 373.7 kB / 1.136 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.7174, allocations: 25.7 kB / 1.136 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.7175, allocations: 175.7 kB / 1.136 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.7175, allocations: 4 kB / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.7175, allocations: 13.72 kB / 1.136 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.7176, allocations: 338.8 kB / 1.136 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.7177, allocations: 4 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.7177, allocations: 40.28 kB / 1.136 GB, free: 5.109 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.7177, allocations: 44.23 kB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7177, allocations: 3.938 kB / 1.136 GB, free: 5.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.7179, allocations: 85.28 kB / 1.136 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7179, allocations: 5.875 kB / 1.136 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.7179, allocations: 0 / 1.136 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.7179, allocations: 4.156 kB / 1.136 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.718, allocations: 20.05 kB / 1.136 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.718, allocations: 0 / 1.136 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.7181, allocations: 35.59 kB / 1.136 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.7181, allocations: 0 / 1.136 GB, free: 4.895 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001114/0.7182, allocations: 213.1 kB / 1.136 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.7183, allocations: 132.7 kB / 1.137 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.7183, allocations: 134.9 kB / 1.137 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.7184, allocations: 180.3 kB / 1.137 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.875e-05/0.7184, allocations: 180.2 kB / 1.137 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/0.7185, allocations: 180.2 kB / 1.137 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.7188, allocations: 493 kB / 1.138 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/0.7188, allocations: 104.9 kB / 1.138 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.7188, allocations: 105 kB / 1.138 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.896e-05/0.7189, allocations: 184.2 kB / 1.138 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.7189, allocations: 184.2 kB / 1.138 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.162e-05/0.719, allocations: 176.3 kB / 1.138 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.652e-05/0.719, allocations: 180.2 kB / 1.139 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.7192, allocations: 339.3 kB / 1.139 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.7193, allocations: 209.7 kB / 1.139 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.7194, allocations: 184.2 kB / 1.139 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.687e-05/0.7195, allocations: 108.9 kB / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.7195, allocations: 176.6 kB / 1.14 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.7195, allocations: 108.9 kB / 1.14 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002333/0.7198, allocations: 271.2 kB / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7198, allocations: 0 / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002355/0.72, allocations: 31.94 kB / 1.14 GB, free: 0.8789 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.0003202/0.7204, allocations: 0.8435 MB / 1.141 GB, free: 4 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.611e-05/0.7204, allocations: 11.98 kB / 1.141 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7204, allocations: 3.938 kB / 1.141 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.7204, allocations: 0 / 1.141 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.7212, allocations: 0.6255 MB / 1.141 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7236, allocations: 2.745 MB / 1.144 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7239, allocations: 0.7521 MB / 1.145 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000102/0.724, allocations: 34.97 kB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.7241, allocations: 71.42 kB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.7241, allocations: 0 / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.673/3.397, allocations: 5.494 MB / 1.15 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/3.398, allocations: 216.7 kB / 1.151 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/7.238, allocations: 7.938 kB / 1.151 GB, free: 6.074 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches