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.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007901/0.007901, allocations: 99.19 kB / 15.73 MB, free: 6.027 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.001948/0.001948, allocations: 194.7 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.679/2.679, allocations: 469.4 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2595, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7709/1.03, allocations: 249 MB / 1.463 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02438/1.055, allocations: 22.28 MB / 1.485 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001555/1.056, allocations: 51.69 kB / 1.485 GB, free: 6.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/1.059, allocations: 0.9899 MB / 1.486 GB, free: 5.582 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/1.063, allocations: 1.527 MB / 1.487 GB, free: 4.051 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004486/1.067, allocations: 1.959 MB / 1.489 GB, free: 2.098 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003298/1.071, allocations: 2.691 MB / 1.492 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/1.072, allocations: 1.324 MB / 1.493 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/1.075, allocations: 1.358 MB / 1.494 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/1.076, allocations: 0.9182 MB / 1.495 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/1.076, allocations: 108 kB / 1.495 GB, free: 11.65 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/1.079, allocations: 1.691 MB / 1.497 GB, free: 9.953 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/1.079, allocations: 375 kB / 1.497 GB, free: 9.586 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006576/1.08, allocations: 0.6376 MB / 1.498 GB, free: 8.945 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/1.083, allocations: 2.285 MB / 1.5 GB, free: 6.652 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.083, allocations: 0 / 1.5 GB, free: 6.652 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.497e-06/1.083, allocations: 0 / 1.5 GB, free: 6.652 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.104e-05/1.083, allocations: 3.938 kB / 1.5 GB, free: 6.648 MB / 1.186 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.001979/1.085, allocations: 1.509 MB / 1.502 GB, free: 5.086 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.085, allocations: 12.03 kB / 1.502 GB, free: 5.074 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/1.085, allocations: 139.5 kB / 1.502 GB, free: 4.93 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/1.086, allocations: 239 kB / 1.502 GB, free: 4.695 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/1.088, allocations: 0.9202 MB / 1.503 GB, free: 3.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.088, allocations: 180.8 kB / 1.503 GB, free: 3.531 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.088, allocations: 99.94 kB / 1.503 GB, free: 3.434 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.09, allocations: 0.9246 MB / 1.504 GB, free: 2.473 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/1.09, allocations: 4 kB / 1.504 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/1.09, allocations: 36 kB / 1.504 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/1.09, allocations: 23.98 kB / 1.504 GB, free: 2.41 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/1.091, allocations: 0.6285 MB / 1.505 GB, free: 1.785 MB / 1.186 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.0043/1.095, allocations: 4.448 MB / 1.509 GB, free: 12.94 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/1.095, allocations: 198.6 kB / 1.509 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/1.096, allocations: 138.2 kB / 1.509 GB, free: 12.6 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009445/1.097, allocations: 1.025 MB / 1.51 GB, free: 11.36 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.097, allocations: 38.56 kB / 1.51 GB, free: 11.31 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 2.464e-06/1.097, allocations: 0 / 1.51 GB, free: 11.31 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001066/1.098, allocations: 483.4 kB / 1.511 GB, free: 10.83 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/1.098, allocations: 55.41 kB / 1.511 GB, free: 10.77 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/1.099, allocations: 1.102 MB / 1.512 GB, free: 9.648 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/1.099, allocations: 33.7 kB / 1.512 GB, free: 9.609 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.1, allocations: 0.5165 MB / 1.513 GB, free: 9.09 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/1.1, allocations: 95.19 kB / 1.513 GB, free: 8.996 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/1.1, allocations: 98.03 kB / 1.513 GB, free: 8.895 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.1, allocations: 322 kB / 1.513 GB, free: 8.574 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.1, allocations: 128.8 kB / 1.513 GB, free: 8.449 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/1.101, allocations: 391.1 kB / 1.514 GB, free: 7.957 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/1.101, allocations: 467.6 kB / 1.514 GB, free: 7.414 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.101, allocations: 0 / 1.514 GB, free: 7.414 MB / 1.201 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00088/1.102, allocations: 0.5435 MB / 1.515 GB, free: 6.863 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/1.102, allocations: 13.66 kB / 1.515 GB, free: 6.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.102, allocations: 8 kB / 1.515 GB, free: 6.844 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.102, allocations: 8 kB / 1.515 GB, free: 6.836 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/1.102, allocations: 83.84 kB / 1.515 GB, free: 6.754 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.103, allocations: 15.92 kB / 1.515 GB, free: 6.738 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/1.103, allocations: 103.7 kB / 1.515 GB, free: 6.637 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/1.103, allocations: 24 kB / 1.515 GB, free: 6.613 MB / 1.201 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.0003469/1.104, allocations: 285.6 kB / 1.515 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/1.104, allocations: 111.2 kB / 1.515 GB, free: 6.215 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/1.104, allocations: 420.2 kB / 1.516 GB, free: 5.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.104, allocations: 8 kB / 1.516 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.104, allocations: 0 / 1.516 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.104, allocations: 0 / 1.516 GB, free: 5.781 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/1.107, allocations: 1.558 MB / 1.517 GB, free: 4.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.107, allocations: 4 kB / 1.517 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.107, allocations: 47.84 kB / 1.517 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.107, allocations: 4 kB / 1.517 GB, free: 4.059 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/1.107, allocations: 12 kB / 1.517 GB, free: 4.047 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/1.107, allocations: 4 kB / 1.517 GB, free: 4.043 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.107, allocations: 7.938 kB / 1.517 GB, free: 4.035 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/1.107, allocations: 0.5821 MB / 1.518 GB, free: 3.383 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/1.108, allocations: 244.3 kB / 1.518 GB, free: 3.125 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.108, allocations: 11.94 kB / 1.518 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/1.108, allocations: 15.98 kB / 1.518 GB, free: 3.098 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/1.108, allocations: 31.84 kB / 1.518 GB, free: 3.066 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/1.109, allocations: 20 kB / 1.518 GB, free: 3.047 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001006/1.11, allocations: 0.7783 MB / 1.519 GB, free: 2.262 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.11, allocations: 0 / 1.519 GB, free: 2.262 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008615/1.11, allocations: 283.4 kB / 1.519 GB, free: 1.984 MB / 1.201 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.001358/1.112, allocations: 1.355 MB / 1.52 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006044/1.112, allocations: 340.7 kB / 1.521 GB, free: 232 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.112, allocations: 4.125 kB / 1.521 GB, free: 228 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/1.113, allocations: 139.7 kB / 1.521 GB, free: 88 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.115, allocations: 0.5151 MB / 1.521 GB, free: 15.58 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/1.125, allocations: 7.444 MB / 1.529 GB, free: 7.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/1.125, allocations: 1.063 MB / 1.53 GB, free: 6.641 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000702/1.126, allocations: 186.5 kB / 1.53 GB, free: 6.461 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/1.126, allocations: 367.3 kB / 1.53 GB, free: 6.102 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/1.126, allocations: 3.938 kB / 1.53 GB, free: 6.098 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04887/1.175, allocations: 28.04 MB / 1.558 GB, free: 10.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.737/10.91, allocations: 3.938 kB / 1.558 GB, free: 10.43 MB / 1.248 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_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_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches