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.001755/0.001755, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001755/0.001755, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.013/2.013, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4624, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1404/0.6029, allocations: 168.1 MB / 1.113 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.00485/0.6078, allocations: 5.996 MB / 1.119 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.6079, allocations: 11.94 kB / 1.119 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.6083, allocations: 147.1 kB / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.6085, allocations: 79.56 kB / 1.119 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.6093, allocations: 486.5 kB / 1.12 GB, free: 2.734 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.6097, allocations: 482.5 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.6099, allocations: 128.9 kB / 1.12 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.6101, allocations: 171.3 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.6103, allocations: 159.4 kB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.6103, allocations: 8 kB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.611, allocations: 0.5181 MB / 1.121 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.611, allocations: 67.81 kB / 1.121 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.6111, allocations: 103.4 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.6116, allocations: 470.6 kB / 1.122 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.6116, allocations: 0 / 1.122 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.31e-07/0.6116, allocations: 0 / 1.122 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.6116, allocations: 0 / 1.122 GB, free: 0.6523 MB / 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.0004583/0.6121, allocations: 0.516 MB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.6121, allocations: 8.031 kB / 1.122 GB, free: 84 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.6122, allocations: 58.55 kB / 1.122 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002368/0.6124, allocations: 47.7 kB / 1.122 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.6127, allocations: 254.5 kB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.6128, allocations: 135.3 kB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.6128, allocations: 24 kB / 1.123 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.6132, allocations: 294.8 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6132, allocations: 4 kB / 1.123 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.6132, allocations: 12 kB / 1.123 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.6133, allocations: 4 kB / 1.123 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.6135, allocations: 160.6 kB / 1.123 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.6146, allocations: 1.587 MB / 1.125 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.685e-05/0.6147, allocations: 165.1 kB / 1.125 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.362e-05/0.6147, allocations: 80.14 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6147, allocations: 79.28 kB / 1.125 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6148, allocations: 113.7 kB / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6148, allocations: 0 / 1.125 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 7.003e-05/0.6149, allocations: 53.42 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.6149, allocations: 126.7 kB / 1.125 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.6152, allocations: 310.6 kB / 1.126 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.6152, allocations: 33.64 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.6153, allocations: 187.2 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.6153, allocations: 4 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.6154, allocations: 45.61 kB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.6155, allocations: 326.8 kB / 1.126 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.6156, allocations: 35.97 kB / 1.126 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.6157, allocations: 169.1 kB / 1.126 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.6159, allocations: 196.9 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6159, allocations: 4 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003441/0.6163, allocations: 221.2 kB / 1.127 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6163, allocations: 11.92 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6163, allocations: 8 kB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.6163, allocations: 4 kB / 1.127 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6164, allocations: 35.92 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6165, allocations: 15.88 kB / 1.127 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.6166, allocations: 35.59 kB / 1.127 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6166, allocations: 8.375 kB / 1.127 GB, free: 10.89 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.0001087/0.6168, allocations: 225 kB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.6168, allocations: 120.7 kB / 1.127 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.6169, allocations: 121.8 kB / 1.127 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.363e-05/0.6169, allocations: 180.2 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-05/0.617, allocations: 180.3 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.726e-05/0.617, allocations: 188.2 kB / 1.128 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.6173, allocations: 477.1 kB / 1.128 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/0.6173, allocations: 105 kB / 1.128 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.6173, allocations: 104.9 kB / 1.129 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.522e-05/0.6174, allocations: 188.2 kB / 1.129 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.316e-05/0.6174, allocations: 184.2 kB / 1.129 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.677e-05/0.6175, allocations: 184.2 kB / 1.129 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-05/0.6175, allocations: 180.2 kB / 1.129 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.6176, allocations: 319.6 kB / 1.13 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.6177, allocations: 213.7 kB / 1.13 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.6178, allocations: 184.2 kB / 1.13 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6179, allocations: 105 kB / 1.13 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.618, allocations: 180.2 kB / 1.13 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.618, allocations: 105 kB / 1.13 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000198/0.6182, allocations: 221.9 kB / 1.131 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6182, allocations: 0 / 1.131 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003002/0.6185, allocations: 43.94 kB / 1.131 GB, free: 6.945 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.0004259/0.6189, allocations: 0.8712 MB / 1.131 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.6191, allocations: 84.72 kB / 1.131 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6191, allocations: 0 / 1.131 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.6191, allocations: 8.25 kB / 1.131 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.6195, allocations: 0.5503 MB / 1.132 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.6216, allocations: 2.559 MB / 1.135 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.6218, allocations: 0.7398 MB / 1.135 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.622, allocations: 37.88 kB / 1.135 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.6221, allocations: 59.41 kB / 1.135 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of SimCode: time 2.31e-07/0.6221, allocations: 0 / 1.135 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.089/2.711, allocations: 3.788 MB / 1.139 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/2.712, allocations: 204.3 kB / 1.139 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/4.301, allocations: 0 / 1.139 GB, free: 13.84 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