Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001148/0.001148, allocations: 112.5 kB / 15.73 MB, free: 76 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.001134/0.001134, allocations: 188.5 kB / 16.67 MB, free: 6.582 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.695/2.695, allocations: 472.7 MB / 0.7453 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.91 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2588, allocations: 159.9 MB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.665/0.9238, allocations: 148 MB / 1.37 GB, free: 11.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.9283, allocations: 4.632 MB / 1.374 GB, free: 7.949 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.9284, allocations: 10.75 kB / 1.374 GB, free: 7.945 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.929, allocations: 166.1 kB / 1.374 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.9292, allocations: 88.73 kB / 1.374 GB, free: 7.773 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.9293, allocations: 60.47 kB / 1.375 GB, free: 7.742 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.9297, allocations: 301.6 kB / 1.375 GB, free: 7.598 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.9299, allocations: 104.2 kB / 1.375 GB, free: 7.547 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.93, allocations: 101.9 kB / 1.375 GB, free: 7.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.9302, allocations: 138.5 kB / 1.375 GB, free: 7.438 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.9302, allocations: 10.06 kB / 1.375 GB, free: 7.438 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.9303, allocations: 11.16 kB / 1.375 GB, free: 7.438 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.9303, allocations: 29.19 kB / 1.375 GB, free: 7.418 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.9304, allocations: 79.19 kB / 1.375 GB, free: 7.367 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.9305, allocations: 161.9 kB / 1.375 GB, free: 7.297 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.9306, allocations: 3.938 kB / 1.375 GB, free: 7.293 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.193e-06/0.9306, allocations: 4 kB / 1.375 GB, free: 7.289 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.9306, allocations: 0 / 1.375 GB, free: 7.289 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003573/0.9309, allocations: 442.6 kB / 1.376 GB, free: 6.867 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.931, allocations: 10.69 kB / 1.376 GB, free: 6.867 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.931, allocations: 51.09 kB / 1.376 GB, free: 6.816 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.9311, allocations: 23.7 kB / 1.376 GB, free: 6.805 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.9313, allocations: 250 kB / 1.376 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.9314, allocations: 9.938 kB / 1.376 GB, free: 6.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.9314, allocations: 21.75 kB / 1.376 GB, free: 6.559 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.9316, allocations: 212.8 kB / 1.376 GB, free: 6.375 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.9316, allocations: 0 / 1.376 GB, free: 6.375 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9317, allocations: 6.844 kB / 1.376 GB, free: 6.371 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.9317, allocations: 5.156 kB / 1.376 GB, free: 6.371 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.9318, allocations: 77.78 kB / 1.376 GB, free: 6.336 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.9326, allocations: 1.594 MB / 1.378 GB, free: 4.793 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.9327, allocations: 174.5 kB / 1.378 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.9327, allocations: 84.83 kB / 1.378 GB, free: 4.527 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.9327, allocations: 75.28 kB / 1.378 GB, free: 4.453 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.9328, allocations: 109.6 kB / 1.378 GB, free: 4.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9328, allocations: 0 / 1.378 GB, free: 4.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.096e-05/0.9329, allocations: 50.88 kB / 1.379 GB, free: 4.293 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.9329, allocations: 126.7 kB / 1.379 GB, free: 4.156 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.9331, allocations: 250.4 kB / 1.379 GB, free: 4.004 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.9332, allocations: 26.77 kB / 1.379 GB, free: 3.973 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.719e-05/0.9332, allocations: 144.3 kB / 1.379 GB, free: 3.844 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.9332, allocations: 0 / 1.379 GB, free: 3.844 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.9333, allocations: 20.94 kB / 1.379 GB, free: 3.824 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.9334, allocations: 330 kB / 1.379 GB, free: 3.504 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.9334, allocations: 3.906 kB / 1.379 GB, free: 3.504 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.415e-05/0.9334, allocations: 51.38 kB / 1.379 GB, free: 3.441 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.002e-05/0.9335, allocations: 65.77 kB / 1.379 GB, free: 3.367 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9335, allocations: 1.812 kB / 1.379 GB, free: 3.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001479/0.9337, allocations: 96.84 kB / 1.38 GB, free: 3.305 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9337, allocations: 6.312 kB / 1.38 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.9337, allocations: 1.281 kB / 1.38 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.9337, allocations: 6.469 kB / 1.38 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.9338, allocations: 20.12 kB / 1.38 GB, free: 3.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9338, allocations: 1.562 kB / 1.38 GB, free: 3.293 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/0.9338, allocations: 14.2 kB / 1.38 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.9339, allocations: 3.562 kB / 1.38 GB, free: 3.285 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 9.41e-05/0.934, allocations: 203.5 kB / 1.38 GB, free: 3.082 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.934, allocations: 129.3 kB / 1.38 GB, free: 2.961 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.9341, allocations: 117.6 kB / 1.38 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/0.9341, allocations: 187.6 kB / 1.38 GB, free: 2.656 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-05/0.9342, allocations: 177.5 kB / 1.38 GB, free: 2.477 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-05/0.9342, allocations: 176.3 kB / 1.381 GB, free: 2.297 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.9345, allocations: 466.5 kB / 1.381 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.9345, allocations: 102 kB / 1.381 GB, free: 1.719 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.9345, allocations: 110.9 kB / 1.381 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.517e-05/0.9346, allocations: 179.2 kB / 1.381 GB, free: 1.426 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.9346, allocations: 181.4 kB / 1.382 GB, free: 1.242 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-05/0.9347, allocations: 181.4 kB / 1.382 GB, free: 1.059 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-05/0.9347, allocations: 179.9 kB / 1.382 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.9349, allocations: 329.3 kB / 1.382 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.9349, allocations: 199.5 kB / 1.382 GB, free: 340 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.935, allocations: 186.2 kB / 1.383 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.9351, allocations: 102.3 kB / 1.383 GB, free: 40 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.9352, allocations: 188.1 kB / 1.383 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.9352, allocations: 106.1 kB / 1.383 GB, free: 15.74 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001413/0.9354, allocations: 179.3 kB / 1.383 GB, free: 15.64 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9354, allocations: 0 / 1.383 GB, free: 15.64 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0002507/0.9356, allocations: 19.94 kB / 1.383 GB, free: 15.64 MB / 1.092 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.0003056/0.9359, allocations: 0.8258 MB / 1.384 GB, free: 14.81 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 6.347e-05/0.936, allocations: 22.78 kB / 1.384 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.936, allocations: 4 kB / 1.384 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.936, allocations: 1.312 kB / 1.384 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.9366, allocations: 0.4962 MB / 1.384 GB, free: 14.34 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.9383, allocations: 2.057 MB / 1.386 GB, free: 12.67 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.9385, allocations: 0.713 MB / 1.387 GB, free: 11.97 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 5.689e-05/0.9385, allocations: 22.28 kB / 1.387 GB, free: 11.96 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.9386, allocations: 48.5 kB / 1.387 GB, free: 11.93 MB / 1.092 GB Notification: Performance of SimCode: time 3.31e-07/0.9386, allocations: 3.938 kB / 1.387 GB, free: 11.92 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.9563, allocations: 3.566 MB / 1.391 GB, free: 10.28 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/8.362, allocations: 15.62 kB / 1.391 GB, free: 10.27 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches