Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008532/0.0008532, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8839/0.8839, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9997 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.93e-05, allocations: 8.391 kB / 0.9997 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6166/0.6167, allocations: 221.6 MB / 1.216 GB, free: 4.395 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.6328, allocations: 20.41 MB / 1.236 GB, free: 15.92 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.634, allocations: 79.31 kB / 1.236 GB, free: 15.84 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.6358, allocations: 0.9935 MB / 1.237 GB, free: 14.84 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.6383, allocations: 1.554 MB / 1.239 GB, free: 13.28 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.6417, allocations: 2.028 MB / 1.241 GB, free: 11.26 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.6442, allocations: 2.666 MB / 1.243 GB, free: 8.586 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000974/0.6452, allocations: 0.9164 MB / 1.244 GB, free: 7.633 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6478, allocations: 1.99 MB / 1.246 GB, free: 5.637 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008333/0.6487, allocations: 0.814 MB / 1.247 GB, free: 4.82 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6488, allocations: 112 kB / 1.247 GB, free: 4.711 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.6507, allocations: 1.418 MB / 1.248 GB, free: 3.289 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.651, allocations: 398.7 kB / 1.249 GB, free: 2.898 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.6514, allocations: 455 kB / 1.249 GB, free: 2.453 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/0.6537, allocations: 2.344 MB / 1.251 GB, free: 104 kB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6537, allocations: 2.719 kB / 1.251 GB, free: 104 kB / 1.089 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6537, allocations: 0 / 1.251 GB, free: 104 kB / 1.089 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.6538, allocations: 0 / 1.251 GB, free: 104 kB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001375/0.6551, allocations: 1.438 MB / 1.253 GB, free: 14.62 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6552, allocations: 8.75 kB / 1.253 GB, free: 14.62 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.6555, allocations: 139.5 kB / 1.253 GB, free: 14.47 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.6562, allocations: 239 kB / 1.253 GB, free: 14.24 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6572, allocations: 0.8442 MB / 1.254 GB, free: 13.37 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.6573, allocations: 291.6 kB / 1.254 GB, free: 13.04 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.6574, allocations: 96.48 kB / 1.254 GB, free: 12.94 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/0.6584, allocations: 0.9284 MB / 1.255 GB, free: 11.98 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.6584, allocations: 7.938 kB / 1.255 GB, free: 11.97 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.6584, allocations: 40 kB / 1.255 GB, free: 11.93 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6585, allocations: 20 kB / 1.255 GB, free: 11.91 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.6592, allocations: 0.6285 MB / 1.256 GB, free: 11.28 MB / 1.104 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.6617, allocations: 2.902 MB / 1.259 GB, free: 8.297 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.662, allocations: 178.8 kB / 1.259 GB, free: 8.113 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.6622, allocations: 143.2 kB / 1.259 GB, free: 7.973 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003092/0.6625, allocations: 127.9 kB / 1.259 GB, free: 7.848 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.6625, allocations: 34.56 kB / 1.259 GB, free: 7.805 MB / 1.104 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.6625, allocations: 0 / 1.259 GB, free: 7.805 MB / 1.104 GB Notification: Performance of matching and sorting (n=24): time 0.0006497/0.6631, allocations: 469.9 kB / 1.26 GB, free: 7.34 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6632, allocations: 59.34 kB / 1.26 GB, free: 7.27 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.6643, allocations: 1.146 MB / 1.261 GB, free: 6.109 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.6644, allocations: 34.27 kB / 1.261 GB, free: 6.07 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/0.6646, allocations: 0.5166 MB / 1.261 GB, free: 5.551 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.6647, allocations: 91.22 kB / 1.262 GB, free: 5.461 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6648, allocations: 94.14 kB / 1.262 GB, free: 5.363 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/0.6649, allocations: 322 kB / 1.262 GB, free: 5.043 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.665, allocations: 130 kB / 1.262 GB, free: 4.914 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.6654, allocations: 0.7339 MB / 1.263 GB, free: 3.988 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.6658, allocations: 463.6 kB / 1.263 GB, free: 3.449 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6658, allocations: 4 kB / 1.263 GB, free: 3.445 MB / 1.104 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005595/0.6663, allocations: 0.5439 MB / 1.264 GB, free: 2.895 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6663, allocations: 12.03 kB / 1.264 GB, free: 2.883 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6663, allocations: 8 kB / 1.264 GB, free: 2.875 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6664, allocations: 8 kB / 1.264 GB, free: 2.867 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.6666, allocations: 95.77 kB / 1.264 GB, free: 2.773 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6666, allocations: 11.94 kB / 1.264 GB, free: 2.762 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.6669, allocations: 103.3 kB / 1.264 GB, free: 2.66 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.6669, allocations: 24 kB / 1.264 GB, free: 2.637 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0002731/0.6672, allocations: 289.6 kB / 1.264 GB, free: 2.344 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.6673, allocations: 111.3 kB / 1.264 GB, free: 2.234 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.6678, allocations: 425 kB / 1.265 GB, free: 1.809 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6678, allocations: 0 / 1.265 GB, free: 1.809 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6678, allocations: 3.938 kB / 1.265 GB, free: 1.805 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6678, allocations: 7.984 kB / 1.265 GB, free: 1.797 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.6692, allocations: 1.451 MB / 1.266 GB, free: 252 kB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6692, allocations: 4 kB / 1.266 GB, free: 248 kB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.411e-05/0.6692, allocations: 44.48 kB / 1.266 GB, free: 204 kB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6692, allocations: 8 kB / 1.266 GB, free: 196 kB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.6693, allocations: 15.92 kB / 1.266 GB, free: 180 kB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6693, allocations: 7.938 kB / 1.266 GB, free: 172 kB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.6693, allocations: 11.94 kB / 1.266 GB, free: 160 kB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006426/0.6699, allocations: 0.5704 MB / 1.267 GB, free: 15.52 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.6701, allocations: 167.2 kB / 1.267 GB, free: 15.35 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.6702, allocations: 15.94 kB / 1.267 GB, free: 15.34 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6704, allocations: 23.97 kB / 1.267 GB, free: 15.31 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.6704, allocations: 31.84 kB / 1.267 GB, free: 15.28 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.6704, allocations: 12 kB / 1.267 GB, free: 15.27 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.0006604/0.6711, allocations: 0.7904 MB / 1.268 GB, free: 14.47 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6711, allocations: 0 / 1.268 GB, free: 14.47 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.0005916/0.6717, allocations: 291.4 kB / 1.268 GB, free: 14.19 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008707/0.6726, allocations: 1.308 MB / 1.269 GB, free: 12.8 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.0004034/0.673, allocations: 343.3 kB / 1.27 GB, free: 12.46 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.673, allocations: 0 / 1.27 GB, free: 12.46 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.6731, allocations: 137.9 kB / 1.27 GB, free: 12.33 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.6743, allocations: 0.5031 MB / 1.27 GB, free: 11.84 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.6811, allocations: 7.521 MB / 1.278 GB, free: 3.898 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6814, allocations: 489.2 kB / 1.278 GB, free: 3.391 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0005001/0.6819, allocations: 198.9 kB / 1.278 GB, free: 3.199 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.6823, allocations: 372.4 kB / 1.279 GB, free: 2.836 MB / 1.12 GB Notification: Performance of SimCode: time 6.61e-07/0.6823, allocations: 0 / 1.279 GB, free: 2.836 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04149/0.7237, allocations: 30.53 MB / 1.309 GB, free: 4.844 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.456, allocations: 10.75 kB / 1.309 GB, free: 4.836 MB / 1.151 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.47145594842732]