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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007175/0.007176, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.002159/0.002159, allocations: 193.6 kB / 16.68 MB, free: 5.973 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.216/1.216, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.206/2.206, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 67.91 kB / 1.018 GB, free: 9.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6149, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1456/0.7605, allocations: 148 MB / 1.311 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004427/0.765, allocations: 4.646 MB / 1.315 GB, free: 10.51 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.7651, allocations: 11.94 kB / 1.315 GB, free: 10.5 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.7654, allocations: 166.8 kB / 1.315 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.7657, allocations: 83.45 kB / 1.316 GB, free: 10.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.7659, allocations: 71.91 kB / 1.316 GB, free: 10.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.7662, allocations: 302.8 kB / 1.316 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.7664, allocations: 155.6 kB / 1.316 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.7666, allocations: 103.6 kB / 1.316 GB, free: 9.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.7668, allocations: 155.4 kB / 1.316 GB, free: 9.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.7668, allocations: 16 kB / 1.316 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.918e-05/0.7669, allocations: 16 kB / 1.316 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.7669, allocations: 63.81 kB / 1.316 GB, free: 9.383 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.28e-05/0.767, allocations: 103.5 kB / 1.317 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.7673, allocations: 242.5 kB / 1.317 GB, free: 9.047 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7673, allocations: 0 / 1.317 GB, free: 9.047 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7673, allocations: 0 / 1.317 GB, free: 9.047 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7673, allocations: 0 / 1.317 GB, free: 9.047 MB / 1.045 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.0004611/0.7678, allocations: 498.8 kB / 1.317 GB, free: 8.512 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.7678, allocations: 8.922 kB / 1.317 GB, free: 8.504 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.7679, allocations: 58.72 kB / 1.317 GB, free: 8.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.7679, allocations: 28.73 kB / 1.317 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.7682, allocations: 275.8 kB / 1.318 GB, free: 8.102 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7682, allocations: 20.81 kB / 1.318 GB, free: 8.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.7683, allocations: 16.38 kB / 1.318 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.7686, allocations: 312.8 kB / 1.318 GB, free: 7.707 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7687, allocations: 0 / 1.318 GB, free: 7.707 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.7687, allocations: 12 kB / 1.318 GB, free: 7.695 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7687, allocations: 4 kB / 1.318 GB, free: 7.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.7689, allocations: 127.7 kB / 1.318 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.7701, allocations: 1.973 MB / 1.32 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.596e-05/0.7702, allocations: 165.1 kB / 1.32 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.7703, allocations: 80.14 kB / 1.32 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.7703, allocations: 79.28 kB / 1.32 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.7703, allocations: 113.8 kB / 1.32 GB, free: 5.031 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.7703, allocations: 0 / 1.32 GB, free: 5.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.691e-05/0.7704, allocations: 53.5 kB / 1.32 GB, free: 4.973 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.7705, allocations: 126.7 kB / 1.321 GB, free: 4.836 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.7708, allocations: 336.5 kB / 1.321 GB, free: 4.504 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.7708, allocations: 25.7 kB / 1.321 GB, free: 4.473 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7709, allocations: 163.9 kB / 1.321 GB, free: 4.309 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-06/0.771, allocations: 7.984 kB / 1.321 GB, free: 4.301 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.771, allocations: 17.72 kB / 1.321 GB, free: 4.277 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7711, allocations: 338.8 kB / 1.321 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.7711, allocations: 4 kB / 1.321 GB, free: 3.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/0.7712, allocations: 66.73 kB / 1.321 GB, free: 3.844 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.7713, allocations: 66.81 kB / 1.322 GB, free: 3.754 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7713, allocations: 0 / 1.322 GB, free: 3.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.7714, allocations: 101.4 kB / 1.322 GB, free: 3.648 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7715, allocations: 11.98 kB / 1.322 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7715, allocations: 3.938 kB / 1.322 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7715, allocations: 4.25 kB / 1.322 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.7716, allocations: 16 kB / 1.322 GB, free: 3.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.7716, allocations: 3.938 kB / 1.322 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.7716, allocations: 31.73 kB / 1.322 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.7717, allocations: 4 kB / 1.322 GB, free: 3.574 MB / 1.045 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.0001307/0.7718, allocations: 217 kB / 1.322 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.7719, allocations: 128.8 kB / 1.322 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.935e-05/0.7719, allocations: 126 kB / 1.322 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-05/0.772, allocations: 196.2 kB / 1.322 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.009e-05/0.7721, allocations: 184.2 kB / 1.323 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.521e-05/0.7722, allocations: 176.3 kB / 1.323 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002971/0.7725, allocations: 481.1 kB / 1.323 GB, free: 1.992 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/0.7725, allocations: 101 kB / 1.323 GB, free: 1.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.7726, allocations: 105 kB / 1.323 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.7726, allocations: 180.2 kB / 1.324 GB, free: 1.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.7727, allocations: 184.2 kB / 1.324 GB, free: 1.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.724e-05/0.7728, allocations: 188.2 kB / 1.324 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.448e-05/0.7728, allocations: 180.3 kB / 1.324 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.773, allocations: 327.6 kB / 1.324 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.7731, allocations: 201.9 kB / 1.325 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/0.7732, allocations: 188.1 kB / 1.325 GB, free: 280 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.7733, allocations: 105 kB / 1.325 GB, free: 168 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.7734, allocations: 180.6 kB / 1.325 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.7734, allocations: 112.9 kB / 1.325 GB, free: 15.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002171/0.7737, allocations: 235 kB / 1.325 GB, free: 15.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7737, allocations: 0 / 1.325 GB, free: 15.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002305/0.7739, allocations: 27.95 kB / 1.325 GB, free: 15.61 MB / 1.061 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.0003911/0.7743, allocations: 0.836 MB / 1.326 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.7744, allocations: 27.88 kB / 1.326 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.7744, allocations: 0 / 1.326 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.7744, allocations: 0 / 1.326 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006229/0.775, allocations: 0.5179 MB / 1.327 GB, free: 14.2 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.7773, allocations: 2.51 MB / 1.329 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.7776, allocations: 0.744 MB / 1.33 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.833e-05/0.7777, allocations: 30.28 kB / 1.33 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.7778, allocations: 63.42 kB / 1.33 GB, free: 10.71 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.7778, allocations: 0 / 1.33 GB, free: 10.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.307/2.085, allocations: 4.803 MB / 1.335 GB, free: 6.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/17.35, allocations: 7.172 kB / 1.335 GB, free: 6.047 MB / 1.061 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=400 --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