Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001164/0.001164, allocations: 97.64 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.008599/0.008599, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.184/2.184, allocations: 390.9 MB / 0.6664 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.000317, allocations: 11.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5583, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1617/0.72, allocations: 165.9 MB / 1.117 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00639/0.7265, allocations: 5.902 MB / 1.123 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.7268, allocations: 7.938 kB / 1.123 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.7274, allocations: 151.1 kB / 1.123 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.7278, allocations: 83.5 kB / 1.123 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.729, allocations: 490.5 kB / 1.124 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.7296, allocations: 478.5 kB / 1.124 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.7299, allocations: 127.6 kB / 1.124 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.7302, allocations: 167.3 kB / 1.124 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.7305, allocations: 131.4 kB / 1.124 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.7305, allocations: 8 kB / 1.125 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.7314, allocations: 0.5064 MB / 1.125 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.7315, allocations: 55.81 kB / 1.125 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.7316, allocations: 125.1 kB / 1.125 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.7322, allocations: 458.5 kB / 1.126 GB, free: 140 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7322, allocations: 4 kB / 1.126 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7322, allocations: 0 / 1.126 GB, free: 136 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7323, allocations: 4 kB / 1.126 GB, free: 132 kB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004983/0.7328, allocations: 483 kB / 1.126 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.7328, allocations: 8.031 kB / 1.126 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.7329, allocations: 58.55 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.7331, allocations: 43.7 kB / 1.126 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.7334, allocations: 246.6 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7335, allocations: 147.3 kB / 1.127 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7335, allocations: 16 kB / 1.127 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.734, allocations: 294.8 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.734, allocations: 4 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.734, allocations: 8 kB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.734, allocations: 8 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.7343, allocations: 164.5 kB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.7355, allocations: 1.583 MB / 1.129 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.789e-05/0.7355, allocations: 169.1 kB / 1.129 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.7356, allocations: 80.14 kB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.7356, allocations: 75.28 kB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.7356, allocations: 113.8 kB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 3.737e-06/0.7356, allocations: 7.984 kB / 1.129 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.678e-05/0.7357, allocations: 49.44 kB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.7358, allocations: 126.7 kB / 1.129 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.7361, allocations: 310.5 kB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.7361, allocations: 25.7 kB / 1.129 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.7362, allocations: 191.2 kB / 1.13 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.499e-06/0.7363, allocations: 3.984 kB / 1.13 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.7363, allocations: 21.72 kB / 1.13 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.7364, allocations: 334.8 kB / 1.13 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.7365, allocations: 35.98 kB / 1.13 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.7366, allocations: 162.5 kB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.7368, allocations: 196.9 kB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7368, allocations: 4 kB / 1.13 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003636/0.7372, allocations: 220.9 kB / 1.131 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7372, allocations: 9.812 kB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7373, allocations: 4 kB / 1.131 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7373, allocations: 12 kB / 1.131 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7374, allocations: 39.92 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7374, allocations: 11.94 kB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.7376, allocations: 27.69 kB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.7376, allocations: 16 kB / 1.131 GB, free: 10.44 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001181/0.7377, allocations: 217 kB / 1.131 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.7378, allocations: 128.7 kB / 1.131 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.7379, allocations: 121.8 kB / 1.131 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/0.7379, allocations: 188.2 kB / 1.131 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.072e-05/0.738, allocations: 176.3 kB / 1.132 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.731e-05/0.738, allocations: 176.3 kB / 1.132 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.7383, allocations: 485.1 kB / 1.132 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.7384, allocations: 105 kB / 1.132 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.7384, allocations: 108.9 kB / 1.132 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.011e-05/0.7384, allocations: 180.2 kB / 1.133 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.7385, allocations: 180.2 kB / 1.133 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.103e-05/0.7386, allocations: 180.2 kB / 1.133 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.428e-05/0.7386, allocations: 184.3 kB / 1.133 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.7387, allocations: 323.7 kB / 1.133 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.7388, allocations: 213.9 kB / 1.134 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.7389, allocations: 192.1 kB / 1.134 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.739, allocations: 101 kB / 1.134 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.7391, allocations: 184.2 kB / 1.134 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.7391, allocations: 101 kB / 1.134 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002091/0.7393, allocations: 217.9 kB / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7394, allocations: 0 / 1.134 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003308/0.7397, allocations: 59.83 kB / 1.134 GB, free: 6.484 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.0005032/0.7402, allocations: 0.8553 MB / 1.135 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.7404, allocations: 87.77 kB / 1.135 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7404, allocations: 0 / 1.135 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.7404, allocations: 0 / 1.135 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.7409, allocations: 0.5437 MB / 1.136 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.7432, allocations: 2.574 MB / 1.138 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7434, allocations: 0.7398 MB / 1.139 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.7436, allocations: 37.94 kB / 1.139 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.7437, allocations: 51.42 kB / 1.139 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.7437, allocations: 0 / 1.139 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9272/1.671, allocations: 3.725 MB / 1.143 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/1.671, allocations: 203.3 kB / 1.143 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.407, allocations: 0 / 1.143 GB, free: 13.49 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches