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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001735/0.001735, allocations: 108 kB / 15.61 MB, free: 152 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.001972/0.001972, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 469.4 MB / 0.742 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 69.69 kB / 0.9083 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2396, allocations: 159.1 MB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1647/0.4044, allocations: 170.3 MB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.4105, allocations: 5.999 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.4107, allocations: 8 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.4113, allocations: 186.7 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.4116, allocations: 91.38 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.4127, allocations: 0.5216 MB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004312/0.4131, allocations: 414.7 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.4134, allocations: 140.9 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.4137, allocations: 191.2 kB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.4139, allocations: 151.4 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.414, allocations: 16 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.4147, allocations: 446.8 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.4148, allocations: 75.81 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4149, allocations: 107.5 kB / 1.238 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.4155, allocations: 434.8 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4155, allocations: 3.984 kB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4155, allocations: 4 kB / 1.239 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4155, allocations: 0 / 1.239 GB, free: 10.78 MB / 0.9981 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.0005499/0.4161, allocations: 0.5184 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4161, allocations: 11.97 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.4162, allocations: 62.55 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.4165, allocations: 43.7 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.4168, allocations: 260.3 kB / 1.239 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.4169, allocations: 127.4 kB / 1.24 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.4169, allocations: 20 kB / 1.24 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.4173, allocations: 298.7 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4174, allocations: 4 kB / 1.24 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4174, allocations: 8 kB / 1.24 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4174, allocations: 8 kB / 1.24 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.4177, allocations: 156.6 kB / 1.24 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.419, allocations: 1.579 MB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.419, allocations: 169.1 kB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.4191, allocations: 84.14 kB / 1.242 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4191, allocations: 79.28 kB / 1.242 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.4192, allocations: 113.8 kB / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4192, allocations: 0 / 1.242 GB, free: 7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.339e-05/0.4192, allocations: 41.52 kB / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4193, allocations: 130.6 kB / 1.242 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.4197, allocations: 318.5 kB / 1.242 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.4197, allocations: 33.7 kB / 1.242 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4198, allocations: 187.2 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.4198, allocations: 4 kB / 1.243 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.4199, allocations: 41.61 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.42, allocations: 330.8 kB / 1.243 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.4201, allocations: 39.97 kB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.4202, allocations: 159.4 kB / 1.243 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.4205, allocations: 204.9 kB / 1.243 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4205, allocations: 0 / 1.243 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003952/0.4209, allocations: 213.2 kB / 1.244 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4209, allocations: 11.94 kB / 1.244 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4209, allocations: 4 kB / 1.244 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4209, allocations: 8 kB / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.4211, allocations: 43.91 kB / 1.244 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4211, allocations: 15.94 kB / 1.244 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.4213, allocations: 27.62 kB / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.4213, allocations: 12.41 kB / 1.244 GB, free: 5.035 MB / 0.9981 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.0001273/0.4215, allocations: 221 kB / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.4215, allocations: 120.7 kB / 1.244 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.4216, allocations: 129.8 kB / 1.244 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/0.4217, allocations: 176.3 kB / 1.244 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-05/0.4217, allocations: 184.2 kB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/0.4218, allocations: 184.2 kB / 1.245 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.4221, allocations: 481.1 kB / 1.245 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-05/0.4221, allocations: 108.9 kB / 1.245 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.4221, allocations: 101 kB / 1.245 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.888e-05/0.4222, allocations: 188.1 kB / 1.246 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.4223, allocations: 180.3 kB / 1.246 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.151e-05/0.4223, allocations: 176.3 kB / 1.246 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.546e-05/0.4224, allocations: 192.2 kB / 1.246 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.4225, allocations: 323.7 kB / 1.246 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4226, allocations: 205.8 kB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.4227, allocations: 188.3 kB / 1.247 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4228, allocations: 108.9 kB / 1.247 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.4229, allocations: 176.3 kB / 1.247 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.4229, allocations: 108.9 kB / 1.247 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002285/0.4232, allocations: 217.9 kB / 1.247 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4232, allocations: 0 / 1.247 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00036/0.4235, allocations: 59.84 kB / 1.247 GB, free: 1.062 MB / 0.9981 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.0005017/0.4241, allocations: 0.8559 MB / 1.248 GB, free: 184 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.4243, allocations: 80.78 kB / 1.248 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4243, allocations: 0 / 1.248 GB, free: 104 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4243, allocations: 4.25 kB / 1.248 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3903/0.8146, allocations: 483.9 kB / 1.249 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.8169, allocations: 2.512 MB / 1.251 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.8171, allocations: 0.7322 MB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.8172, allocations: 35.14 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.8173, allocations: 59.31 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/0.8173, allocations: 0.6562 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.8364, allocations: 3.983 MB / 1.256 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.889, allocations: 12.38 kB / 1.256 GB, free: 187.6 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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