Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_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.005727/0.005727, allocations: 98.55 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.001553/0.001553, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.673/2.673, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2662, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6829/0.9491, allocations: 170.3 MB / 1.333 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007036/0.9562, allocations: 6.001 MB / 1.338 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002442/0.9564, allocations: 10.38 kB / 1.338 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.957, allocations: 183.5 kB / 1.339 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000281/0.9573, allocations: 88.91 kB / 1.339 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.9585, allocations: 0.5124 MB / 1.339 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.959, allocations: 424 kB / 1.34 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.9593, allocations: 134.2 kB / 1.34 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.9596, allocations: 193.8 kB / 1.34 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.9598, allocations: 155.1 kB / 1.34 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.9599, allocations: 15.78 kB / 1.34 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.9606, allocations: 461.2 kB / 1.34 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.9607, allocations: 63.81 kB / 1.341 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.9609, allocations: 102 kB / 1.341 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006225/0.9615, allocations: 455.7 kB / 1.341 GB, free: 11.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.9615, allocations: 7.938 kB / 1.341 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9615, allocations: 0 / 1.341 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9615, allocations: 0 / 1.341 GB, free: 11.61 MB / 1.029 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.0006279/0.9622, allocations: 0.5242 MB / 1.342 GB, free: 11.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.9622, allocations: 13.06 kB / 1.342 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.9623, allocations: 63.67 kB / 1.342 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.9625, allocations: 44.95 kB / 1.342 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.9629, allocations: 263.9 kB / 1.342 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.9631, allocations: 130.2 kB / 1.342 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.9631, allocations: 22.75 kB / 1.342 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004654/0.9636, allocations: 297.8 kB / 1.342 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.9636, allocations: 1.594 kB / 1.342 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.9636, allocations: 14.72 kB / 1.342 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9636, allocations: 6.969 kB / 1.342 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.964, allocations: 161 kB / 1.343 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.9654, allocations: 1.59 MB / 1.344 GB, free: 8.984 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.8e-05/0.9655, allocations: 170.2 kB / 1.344 GB, free: 8.809 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.9655, allocations: 81.33 kB / 1.344 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.9656, allocations: 79.28 kB / 1.344 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.9656, allocations: 106.9 kB / 1.345 GB, free: 8.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9656, allocations: 0 / 1.345 GB, free: 8.535 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.841e-05/0.9657, allocations: 49.84 kB / 1.345 GB, free: 8.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.9658, allocations: 130.6 kB / 1.345 GB, free: 8.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.9662, allocations: 313.3 kB / 1.345 GB, free: 8.172 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.9662, allocations: 30.77 kB / 1.345 GB, free: 8.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.9663, allocations: 189.4 kB / 1.345 GB, free: 7.973 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-06/0.9664, allocations: 5.234 kB / 1.345 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.9664, allocations: 46.2 kB / 1.345 GB, free: 7.938 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9666, allocations: 329.9 kB / 1.346 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.9667, allocations: 33.94 kB / 1.346 GB, free: 7.609 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.9669, allocations: 164.8 kB / 1.346 GB, free: 7.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.9671, allocations: 204.3 kB / 1.346 GB, free: 7.215 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.9671, allocations: 1 kB / 1.346 GB, free: 7.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004037/0.9675, allocations: 213.7 kB / 1.346 GB, free: 7.117 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9676, allocations: 11.31 kB / 1.346 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.9676, allocations: 5.344 kB / 1.346 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.9676, allocations: 5.094 kB / 1.346 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.9678, allocations: 42.08 kB / 1.346 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.9678, allocations: 9.562 kB / 1.346 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.968, allocations: 30.48 kB / 1.346 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.968, allocations: 14.41 kB / 1.346 GB, free: 7.078 MB / 1.029 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.0001537/0.9681, allocations: 222.1 kB / 1.346 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/0.9682, allocations: 125.2 kB / 1.347 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.9683, allocations: 124.4 kB / 1.347 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.44e-05/0.9684, allocations: 176.3 kB / 1.347 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.699e-05/0.9685, allocations: 181.5 kB / 1.347 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.9686, allocations: 188.1 kB / 1.347 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.9689, allocations: 478.3 kB / 1.348 GB, free: 5.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.969, allocations: 108.7 kB / 1.348 GB, free: 5.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.969, allocations: 101.8 kB / 1.348 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.903e-05/0.9691, allocations: 188.6 kB / 1.348 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.9692, allocations: 185.5 kB / 1.348 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.613e-05/0.9693, allocations: 181.6 kB / 1.348 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.801e-05/0.9694, allocations: 180.2 kB / 1.349 GB, free: 4.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.9695, allocations: 322.4 kB / 1.349 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.9697, allocations: 209.7 kB / 1.349 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.9698, allocations: 197 kB / 1.349 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.9699, allocations: 107.8 kB / 1.349 GB, free: 3.809 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.97, allocations: 177.6 kB / 1.35 GB, free: 3.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.9701, allocations: 107.1 kB / 1.35 GB, free: 3.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002436/0.9703, allocations: 218.6 kB / 1.35 GB, free: 3.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9703, allocations: 0 / 1.35 GB, free: 3.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003561/0.9707, allocations: 54.31 kB / 1.35 GB, free: 3.391 MB / 1.029 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.0005946/0.9713, allocations: 0.8606 MB / 1.351 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.9715, allocations: 82.78 kB / 1.351 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9715, allocations: 320 / 1.351 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.9715, allocations: 5.5 kB / 1.351 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.972, allocations: 480.8 kB / 1.351 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.9747, allocations: 2.5 MB / 1.354 GB, free: 88 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.9751, allocations: 0.74 MB / 1.354 GB, free: 15.38 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.9753, allocations: 35.5 kB / 1.354 GB, free: 15.37 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.9753, allocations: 52.94 kB / 1.355 GB, free: 15.33 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.9754, allocations: 5.031 kB / 1.355 GB, free: 15.33 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.9999, allocations: 4.051 MB / 1.359 GB, free: 14.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.906, allocations: 13.39 kB / 1.359 GB, free: 14.71 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches