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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001412/0.001412, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 196 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7207/0.7221, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1953/0.9174, allocations: 174 MB / 1.12 GB, free: 3.152 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.927, allocations: 9.522 MB / 1.129 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.9273, allocations: 11.94 kB / 1.129 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.928, allocations: 186.7 kB / 1.129 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.9283, allocations: 95.3 kB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.9285, allocations: 67.92 kB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.9289, allocations: 322.7 kB / 1.13 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.9293, allocations: 204.8 kB / 1.13 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/0.9296, allocations: 167.4 kB / 1.13 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.9298, allocations: 131.4 kB / 1.13 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.9298, allocations: 20 kB / 1.13 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.141e-05/0.9299, allocations: 20 kB / 1.13 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.9299, allocations: 75.81 kB / 1.13 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.9301, allocations: 127.3 kB / 1.13 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.9303, allocations: 271 kB / 1.131 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.9303, allocations: 7.984 kB / 1.131 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9303, allocations: 0 / 1.131 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.9303, allocations: 3.938 kB / 1.131 GB, free: 7.918 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.0004839/0.9308, allocations: 0.5145 MB / 1.131 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.9309, allocations: 8.031 kB / 1.131 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.931, allocations: 66.53 kB / 1.131 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.931, allocations: 27.66 kB / 1.131 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.9313, allocations: 262.5 kB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.9313, allocations: 24.56 kB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.9314, allocations: 24 kB / 1.132 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.9318, allocations: 327.9 kB / 1.132 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9318, allocations: 0 / 1.132 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.9319, allocations: 15.94 kB / 1.132 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.9319, allocations: 11.94 kB / 1.132 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.9321, allocations: 147.7 kB / 1.132 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.9333, allocations: 1.808 MB / 1.134 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.9334, allocations: 169.1 kB / 1.134 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.9334, allocations: 84.08 kB / 1.134 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.9335, allocations: 75.42 kB / 1.134 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.9335, allocations: 121.8 kB / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9335, allocations: 0 / 1.134 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.329e-05/0.9336, allocations: 65.23 kB / 1.134 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.9337, allocations: 126.7 kB / 1.134 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.9341, allocations: 373.7 kB / 1.135 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.9341, allocations: 25.7 kB / 1.135 GB, free: 3.383 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.9342, allocations: 167.8 kB / 1.135 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.9342, allocations: 0 / 1.135 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.9343, allocations: 21.72 kB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9344, allocations: 338.8 kB / 1.135 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.9344, allocations: 4 kB / 1.135 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.9344, allocations: 32.3 kB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/0.9345, allocations: 48.23 kB / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9345, allocations: 0 / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001512/0.9347, allocations: 89.22 kB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.9347, allocations: 13.23 kB / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9347, allocations: 160 / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9347, allocations: 8 kB / 1.135 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.9348, allocations: 4 kB / 1.135 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.9348, allocations: 7.938 kB / 1.135 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/0.9349, allocations: 27.59 kB / 1.135 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.9349, allocations: 0 / 1.135 GB, free: 2.582 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.0001293/0.935, allocations: 213.1 kB / 1.136 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.9351, allocations: 128.6 kB / 1.136 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.9352, allocations: 138.9 kB / 1.136 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.472e-05/0.9353, allocations: 180.2 kB / 1.136 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.274e-05/0.9353, allocations: 176.3 kB / 1.136 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/0.9354, allocations: 180.2 kB / 1.136 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.9357, allocations: 493 kB / 1.137 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.29e-05/0.9357, allocations: 104.9 kB / 1.137 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.9358, allocations: 105 kB / 1.137 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.836e-05/0.9358, allocations: 184.2 kB / 1.137 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/0.9359, allocations: 188.1 kB / 1.137 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.333e-05/0.9359, allocations: 180.4 kB / 1.138 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-05/0.936, allocations: 184.2 kB / 1.138 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.9362, allocations: 343.3 kB / 1.138 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.9363, allocations: 209.7 kB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.9364, allocations: 180.3 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.9365, allocations: 104.9 kB / 1.139 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.9366, allocations: 180.6 kB / 1.139 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.9366, allocations: 104.9 kB / 1.139 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002347/0.9368, allocations: 271.2 kB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9368, allocations: 0 / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002548/0.9371, allocations: 31.94 kB / 1.139 GB, free: 14.55 MB / 0.9044 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.0003507/0.9375, allocations: 0.8435 MB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.9375, allocations: 19.92 kB / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9375, allocations: 0 / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/0.9375, allocations: 0 / 1.14 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/0.9384, allocations: 0.5592 MB / 1.141 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.9409, allocations: 2.699 MB / 1.143 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.9413, allocations: 0.7518 MB / 1.144 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.9414, allocations: 30.97 kB / 1.144 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.9415, allocations: 79.41 kB / 1.144 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.9415, allocations: 0 / 1.144 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.9707, allocations: 5.833 MB / 1.15 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.737/8.708, allocations: 3.75 kB / 1.15 GB, free: 3.723 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