Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_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.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 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.001294/0.001294, allocations: 194 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5344, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2128/0.7472, allocations: 249 MB / 1.193 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.7682, allocations: 22.27 MB / 1.215 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/0.7694, allocations: 55.69 kB / 1.215 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.7715, allocations: 0.9781 MB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.7743, allocations: 1.465 MB / 1.217 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.7779, allocations: 1.928 MB / 1.219 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.7804, allocations: 2.683 MB / 1.222 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.7817, allocations: 1.32 MB / 1.223 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.7836, allocations: 1.339 MB / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009538/0.7846, allocations: 0.9144 MB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.7847, allocations: 108 kB / 1.225 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.7874, allocations: 1.676 MB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.7877, allocations: 374.9 kB / 1.227 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005168/0.7882, allocations: 0.6337 MB / 1.228 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002128/0.7904, allocations: 2.236 MB / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7904, allocations: 0 / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7904, allocations: 0 / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.7904, allocations: 0 / 1.23 GB, free: 1.844 MB / 0.9825 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.001602/0.792, allocations: 1.468 MB / 1.231 GB, free: 328 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.7921, allocations: 15.95 kB / 1.231 GB, free: 312 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.7922, allocations: 143.5 kB / 1.232 GB, free: 160 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009784/0.7932, allocations: 234.3 kB / 1.232 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.7942, allocations: 0.8453 MB / 1.233 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.7944, allocations: 188.8 kB / 1.233 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.7945, allocations: 91.94 kB / 1.233 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.7957, allocations: 0.9363 MB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.7958, allocations: 0 / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.7958, allocations: 36 kB / 1.234 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.7958, allocations: 20 kB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.7968, allocations: 0.6285 MB / 1.234 GB, free: 13.08 MB / 0.9981 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.00363/0.8004, allocations: 4.462 MB / 1.239 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.8008, allocations: 186.7 kB / 1.239 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.8009, allocations: 144.8 kB / 1.239 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008494/0.8018, allocations: 1.021 MB / 1.24 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.8018, allocations: 42.5 kB / 1.24 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.8018, allocations: 0 / 1.24 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0008785/0.8027, allocations: 469.6 kB / 1.241 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.8028, allocations: 51.41 kB / 1.241 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.8039, allocations: 1.11 MB / 1.242 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.8039, allocations: 41.69 kB / 1.242 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.8043, allocations: 0.5078 MB / 1.242 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.8043, allocations: 86.83 kB / 1.242 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.8045, allocations: 93.94 kB / 1.242 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.8046, allocations: 326 kB / 1.243 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.8048, allocations: 128.8 kB / 1.243 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/0.8052, allocations: 387.1 kB / 1.243 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.8056, allocations: 467.6 kB / 1.244 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8057, allocations: 0 / 1.244 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007689/0.8064, allocations: 0.5388 MB / 1.244 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8065, allocations: 15.88 kB / 1.244 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8065, allocations: 8 kB / 1.244 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.8065, allocations: 8.688 kB / 1.244 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.8068, allocations: 87.89 kB / 1.244 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.8068, allocations: 11.94 kB / 1.244 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.8074, allocations: 95.03 kB / 1.244 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.8074, allocations: 27.98 kB / 1.244 GB, free: 1.926 MB / 0.9981 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.0002943/0.8077, allocations: 285.6 kB / 1.245 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.8079, allocations: 106.6 kB / 1.245 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.8085, allocations: 424.9 kB / 1.245 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.8085, allocations: 4 kB / 1.245 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8085, allocations: 7.922 kB / 1.245 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.8085, allocations: 3.984 kB / 1.245 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3481/1.157, allocations: 1.547 MB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.157, allocations: 8.094 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.157, allocations: 41.33 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/1.157, allocations: 6.125 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.157, allocations: 11.59 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.157, allocations: 6.031 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.157, allocations: 11.09 kB / 1.247 GB, free: 288.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/1.158, allocations: 0.5663 MB / 1.247 GB, free: 288.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/1.158, allocations: 236.8 kB / 1.248 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.158, allocations: 12.14 kB / 1.248 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/1.158, allocations: 15.16 kB / 1.248 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/1.158, allocations: 33.23 kB / 1.248 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/1.158, allocations: 15.19 kB / 1.248 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009261/1.159, allocations: 0.7793 MB / 1.248 GB, free: 288.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.159, allocations: 0 / 1.248 GB, free: 288.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007994/1.16, allocations: 284.4 kB / 1.249 GB, free: 288.2 MB / 0.9981 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.0011/1.161, allocations: 1.354 MB / 1.25 GB, free: 287.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000543/1.162, allocations: 345.1 kB / 1.25 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.162, allocations: 1.125 kB / 1.25 GB, free: 287.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/1.162, allocations: 145.1 kB / 1.25 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.164, allocations: 0.514 MB / 1.251 GB, free: 287 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008482/1.173, allocations: 7.925 MB / 1.259 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/1.173, allocations: 1.064 MB / 1.26 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006751/1.174, allocations: 196 kB / 1.26 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/1.174, allocations: 366 kB / 1.26 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.174, allocations: 1.281 kB / 1.26 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.381/3.555, allocations: 27.74 MB / 1.287 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/11.95, allocations: 13 kB / 1.287 GB, free: 265.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches