Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_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.001084/0.001084, allocations: 97.72 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.00565/0.005651, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437.8 MB / 0.7121 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5848, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.144/0.7288, allocations: 143.9 MB / 1.164 GB, free: 15.42 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.7337, allocations: 4.553 MB / 1.168 GB, free: 10.85 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.734, allocations: 11.94 kB / 1.168 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.7344, allocations: 127.2 kB / 1.168 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.7348, allocations: 79.56 kB / 1.168 GB, free: 10.64 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.7349, allocations: 59.89 kB / 1.168 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.7354, allocations: 366.7 kB / 1.169 GB, free: 10.22 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.7357, allocations: 132.1 kB / 1.169 GB, free: 10.08 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.7359, allocations: 91.52 kB / 1.169 GB, free: 9.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.7361, allocations: 135.5 kB / 1.169 GB, free: 9.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.7361, allocations: 11.98 kB / 1.169 GB, free: 9.848 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.7361, allocations: 7.938 kB / 1.169 GB, free: 9.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.7362, allocations: 47.83 kB / 1.169 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.7363, allocations: 109.1 kB / 1.169 GB, free: 9.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.7365, allocations: 225.3 kB / 1.169 GB, free: 9.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.7365, allocations: 0 / 1.169 GB, free: 9.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7366, allocations: 0 / 1.169 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7366, allocations: 0 / 1.169 GB, free: 9.461 MB / 0.92 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.0004112/0.737, allocations: 451.2 kB / 1.17 GB, free: 8.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.737, allocations: 8.031 kB / 1.17 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.7371, allocations: 58.73 kB / 1.17 GB, free: 8.898 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.7371, allocations: 28.59 kB / 1.17 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.7374, allocations: 255.7 kB / 1.17 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.7374, allocations: 16.81 kB / 1.17 GB, free: 8.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.7375, allocations: 24.38 kB / 1.17 GB, free: 8.543 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/0.7379, allocations: 304.8 kB / 1.171 GB, free: 8.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.7379, allocations: 4 kB / 1.171 GB, free: 8.188 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.7379, allocations: 12 kB / 1.171 GB, free: 8.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7379, allocations: 8 kB / 1.171 GB, free: 8.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.7381, allocations: 119.7 kB / 1.171 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.7394, allocations: 1.973 MB / 1.173 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.7395, allocations: 169.1 kB / 1.173 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.7395, allocations: 84.12 kB / 1.173 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.7395, allocations: 79.28 kB / 1.173 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7396, allocations: 109.8 kB / 1.173 GB, free: 5.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.7396, allocations: 0 / 1.173 GB, free: 5.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.205e-05/0.7397, allocations: 65.28 kB / 1.173 GB, free: 5.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.7397, allocations: 126.7 kB / 1.173 GB, free: 5.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.7401, allocations: 328.5 kB / 1.174 GB, free: 4.977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.7401, allocations: 25.7 kB / 1.174 GB, free: 4.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7402, allocations: 163.7 kB / 1.174 GB, free: 4.781 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.7402, allocations: 0 / 1.174 GB, free: 4.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.7402, allocations: 17.66 kB / 1.174 GB, free: 4.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7404, allocations: 334.8 kB / 1.174 GB, free: 4.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.7404, allocations: 8 kB / 1.174 GB, free: 4.414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-05/0.7404, allocations: 62.84 kB / 1.174 GB, free: 4.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.7405, allocations: 70.75 kB / 1.174 GB, free: 4.234 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7405, allocations: 0 / 1.174 GB, free: 4.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001716/0.7407, allocations: 109.2 kB / 1.174 GB, free: 4.121 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7407, allocations: 4 kB / 1.174 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.7407, allocations: 7.938 kB / 1.174 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.7408, allocations: 0 / 1.174 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.7408, allocations: 15.94 kB / 1.174 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7408, allocations: 7.938 kB / 1.174 GB, free: 4.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.7409, allocations: 27.69 kB / 1.174 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.7409, allocations: 4 kB / 1.174 GB, free: 4.055 MB / 0.92 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.0001256/0.7411, allocations: 213.9 kB / 1.175 GB, free: 3.836 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.7411, allocations: 128.7 kB / 1.175 GB, free: 3.703 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.7412, allocations: 129.9 kB / 1.175 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.912e-05/0.7413, allocations: 176.3 kB / 1.175 GB, free: 3.391 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-05/0.7413, allocations: 184.2 kB / 1.175 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/0.7414, allocations: 184.3 kB / 1.175 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.7417, allocations: 477.1 kB / 1.176 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-05/0.7417, allocations: 108.9 kB / 1.176 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.7418, allocations: 101 kB / 1.176 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.125e-05/0.7418, allocations: 180.2 kB / 1.176 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.7419, allocations: 184.2 kB / 1.176 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.041e-05/0.7419, allocations: 184.3 kB / 1.176 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-05/0.742, allocations: 184.2 kB / 1.177 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.7421, allocations: 319.5 kB / 1.177 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.7422, allocations: 205.8 kB / 1.177 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.7423, allocations: 192.2 kB / 1.177 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.7424, allocations: 104.9 kB / 1.177 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.7425, allocations: 180.3 kB / 1.178 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.7425, allocations: 105.2 kB / 1.178 GB, free: 376 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000219/0.7427, allocations: 239 kB / 1.178 GB, free: 140 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7427, allocations: 0 / 1.178 GB, free: 140 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002716/0.743, allocations: 27.94 kB / 1.178 GB, free: 112 kB / 0.92 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.0003609/0.7434, allocations: 0.8397 MB / 1.179 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.7435, allocations: 27.91 kB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7435, allocations: 0.5 kB / 1.179 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.7435, allocations: 4 kB / 1.179 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000724/0.7442, allocations: 0.5933 MB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.7466, allocations: 2.56 MB / 1.182 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7469, allocations: 0.7443 MB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.831e-05/0.747, allocations: 30.22 kB / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.7471, allocations: 63.42 kB / 1.183 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.7471, allocations: 7.938 kB / 1.183 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3026/1.05, allocations: 4.435 MB / 1.187 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.05, allocations: 210.2 kB / 1.187 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.725, allocations: 4.062 kB / 1.187 GB, free: 6.539 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches