Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_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.00469/0.00469, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001315/0.001315, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.579/2.579, allocations: 482.6 MB / 0.7551 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 64.09 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2691, allocations: 162.3 MB / 1.242 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6175/0.8866, allocations: 170.3 MB / 1.408 GB, free: 5.672 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005682/0.8923, allocations: 6.006 MB / 1.414 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.8924, allocations: 6.656 kB / 1.414 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.8929, allocations: 185.7 kB / 1.414 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.8932, allocations: 97.98 kB / 1.414 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.894, allocations: 0.5153 MB / 1.415 GB, free: 176 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.8944, allocations: 415.5 kB / 1.415 GB, free: 15.93 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.8947, allocations: 136.2 kB / 1.415 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.8949, allocations: 185.8 kB / 1.416 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.8951, allocations: 162.3 kB / 1.416 GB, free: 15.65 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.8951, allocations: 16.53 kB / 1.416 GB, free: 15.65 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.8958, allocations: 451.7 kB / 1.416 GB, free: 15.4 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.8959, allocations: 68.97 kB / 1.416 GB, free: 15.36 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.896, allocations: 109.2 kB / 1.416 GB, free: 15.28 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.8965, allocations: 451.2 kB / 1.417 GB, free: 15.01 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.8965, allocations: 0 / 1.417 GB, free: 15.01 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8966, allocations: 0.875 kB / 1.417 GB, free: 15.01 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8966, allocations: 0 / 1.417 GB, free: 15.01 MB / 1.123 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.0005273/0.8971, allocations: 0.5321 MB / 1.417 GB, free: 14.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.8971, allocations: 9.594 kB / 1.417 GB, free: 14.5 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.8972, allocations: 61.94 kB / 1.417 GB, free: 14.44 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.8974, allocations: 46.58 kB / 1.417 GB, free: 14.42 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.8977, allocations: 265.8 kB / 1.418 GB, free: 14.15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.8979, allocations: 135.6 kB / 1.418 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.8979, allocations: 19 kB / 1.418 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.8983, allocations: 298.9 kB / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.8983, allocations: 0 / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.8983, allocations: 7.438 kB / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.8984, allocations: 6.875 kB / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.8986, allocations: 162.9 kB / 1.418 GB, free: 13.69 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.8999, allocations: 1.58 MB / 1.42 GB, free: 12.16 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.9, allocations: 174.3 kB / 1.42 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.9, allocations: 81.36 kB / 1.42 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.9, allocations: 75.28 kB / 1.42 GB, free: 11.83 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.9001, allocations: 119.4 kB / 1.42 GB, free: 11.7 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.9001, allocations: 0 / 1.42 GB, free: 11.7 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 7.446e-05/0.9002, allocations: 51.09 kB / 1.42 GB, free: 11.66 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.9002, allocations: 126.7 kB / 1.42 GB, free: 11.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.9005, allocations: 315 kB / 1.421 GB, free: 11.3 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.9006, allocations: 25.7 kB / 1.421 GB, free: 11.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.9007, allocations: 194.9 kB / 1.421 GB, free: 11.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.9007, allocations: 2.188 kB / 1.421 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.9008, allocations: 48.66 kB / 1.421 GB, free: 11.05 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9009, allocations: 327.5 kB / 1.421 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.901, allocations: 40.12 kB / 1.421 GB, free: 10.71 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.9012, allocations: 168.1 kB / 1.421 GB, free: 10.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.9014, allocations: 200.8 kB / 1.422 GB, free: 10.3 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.9014, allocations: 3.656 kB / 1.422 GB, free: 10.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003451/0.9017, allocations: 213.1 kB / 1.422 GB, free: 10.18 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.9018, allocations: 14.25 kB / 1.422 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9018, allocations: 5.562 kB / 1.422 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.9018, allocations: 5.688 kB / 1.422 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.9019, allocations: 37.36 kB / 1.422 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9019, allocations: 4.75 kB / 1.422 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.9021, allocations: 38.17 kB / 1.422 GB, free: 10.13 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.9021, allocations: 10.69 kB / 1.422 GB, free: 10.13 MB / 1.123 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.000135/0.9023, allocations: 223 kB / 1.422 GB, free: 9.918 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.9023, allocations: 126 kB / 1.422 GB, free: 9.797 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.372e-05/0.9024, allocations: 121 kB / 1.422 GB, free: 9.676 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-05/0.9025, allocations: 181.4 kB / 1.423 GB, free: 9.492 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-05/0.9026, allocations: 186.9 kB / 1.423 GB, free: 9.305 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/0.9026, allocations: 181.4 kB / 1.423 GB, free: 9.121 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.9029, allocations: 484.2 kB / 1.423 GB, free: 8.621 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.672e-05/0.903, allocations: 102.3 kB / 1.423 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.903, allocations: 106.3 kB / 1.424 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.566e-05/0.9031, allocations: 185.5 kB / 1.424 GB, free: 8.219 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.9032, allocations: 180.2 kB / 1.424 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-05/0.9032, allocations: 181.5 kB / 1.424 GB, free: 7.852 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-05/0.9033, allocations: 181.3 kB / 1.424 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.9034, allocations: 323.2 kB / 1.425 GB, free: 7.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9036, allocations: 209.7 kB / 1.425 GB, free: 7.117 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.295e-05/0.9037, allocations: 189.3 kB / 1.425 GB, free: 6.926 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.9038, allocations: 110.7 kB / 1.425 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.9039, allocations: 181.3 kB / 1.425 GB, free: 6.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.9039, allocations: 102.2 kB / 1.425 GB, free: 6.523 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002122/0.9041, allocations: 216.9 kB / 1.426 GB, free: 6.383 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9041, allocations: 0 / 1.426 GB, free: 6.383 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002933/0.9044, allocations: 53.98 kB / 1.426 GB, free: 6.371 MB / 1.123 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.0004962/0.9049, allocations: 0.8681 MB / 1.426 GB, free: 5.523 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.9051, allocations: 75.66 kB / 1.427 GB, free: 5.492 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9051, allocations: 0 / 1.427 GB, free: 5.492 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-06/0.9051, allocations: 6.359 kB / 1.427 GB, free: 5.488 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.9056, allocations: 490.2 kB / 1.427 GB, free: 5.02 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.9078, allocations: 2.501 MB / 1.429 GB, free: 2.883 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.9082, allocations: 0.7422 MB / 1.43 GB, free: 2.148 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.9083, allocations: 35.42 kB / 1.43 GB, free: 2.129 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.9084, allocations: 53.05 kB / 1.43 GB, free: 2.086 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/0.9084, allocations: 3.938 kB / 1.43 GB, free: 2.082 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.027/4.935, allocations: 4.058 MB / 1.434 GB, free: 44 kB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/15.9, allocations: 6.062 kB / 1.434 GB, free: 40 kB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches