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.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.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.001508/0.001508, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 192.4 kB / 16.25 MB, free: 6.641 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.32/1.32, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.23 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2557, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6528/0.9086, allocations: 246 MB / 1.293 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01791/0.9265, allocations: 22.1 MB / 1.314 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001283/0.9278, allocations: 51.47 kB / 1.314 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.9297, allocations: 0.8446 MB / 1.315 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002623/0.9323, allocations: 1.368 MB / 1.316 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.9361, allocations: 1.797 MB / 1.318 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.9389, allocations: 2.698 MB / 1.321 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.9403, allocations: 1.304 MB / 1.322 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.9423, allocations: 1.343 MB / 1.323 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.9432, allocations: 0.956 MB / 1.324 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.9433, allocations: 108.5 kB / 1.324 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002489/0.9458, allocations: 1.724 MB / 1.326 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.9461, allocations: 381.8 kB / 1.326 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.9466, allocations: 0.6393 MB / 1.327 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002032/0.9486, allocations: 2.335 MB / 1.329 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9486, allocations: 0 / 1.329 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9486, allocations: 3.5 kB / 1.329 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.9487, allocations: 6.125 kB / 1.329 GB, free: 0.9219 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001501/0.9502, allocations: 1.467 MB / 1.331 GB, free: 16.11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.9502, allocations: 12.62 kB / 1.331 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.9503, allocations: 141 kB / 1.331 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.9513, allocations: 228.7 kB / 1.331 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009192/0.9522, allocations: 0.8513 MB / 1.332 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.9523, allocations: 185.4 kB / 1.332 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/0.9524, allocations: 90.88 kB / 1.332 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.9536, allocations: 0.9319 MB / 1.333 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.9536, allocations: 0.8438 kB / 1.333 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.9537, allocations: 39.88 kB / 1.333 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.9537, allocations: 26.8 kB / 1.333 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009274/0.9547, allocations: 0.6326 MB / 1.334 GB, free: 15.41 MB / 1.014 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.003391/0.9581, allocations: 4.441 MB / 1.338 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.9584, allocations: 194.8 kB / 1.338 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.9586, allocations: 150.1 kB / 1.339 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.9594, allocations: 1.019 MB / 1.34 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.9595, allocations: 36.62 kB / 1.34 GB, free: 11.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.9595, allocations: 0 / 1.34 GB, free: 11.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008484/0.9603, allocations: 468 kB / 1.34 GB, free: 11.37 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.9604, allocations: 54.09 kB / 1.34 GB, free: 11.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.9615, allocations: 1.11 MB / 1.341 GB, free: 11.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.9615, allocations: 34.48 kB / 1.341 GB, free: 11.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.9618, allocations: 0.5108 MB / 1.342 GB, free: 10.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.402e-05/0.9619, allocations: 86.75 kB / 1.342 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.962, allocations: 102.4 kB / 1.342 GB, free: 10.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.9621, allocations: 319 kB / 1.342 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.9623, allocations: 127.7 kB / 1.342 GB, free: 10.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.9627, allocations: 397.7 kB / 1.343 GB, free: 10.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.9632, allocations: 467.1 kB / 1.343 GB, free: 10.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.9632, allocations: 3.375 kB / 1.343 GB, free: 10.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006986/0.9639, allocations: 0.5344 MB / 1.344 GB, free: 9.93 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9639, allocations: 6.688 kB / 1.344 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.9639, allocations: 6.281 kB / 1.344 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.964, allocations: 13.38 kB / 1.344 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.9643, allocations: 85.5 kB / 1.344 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.9643, allocations: 18.06 kB / 1.344 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.9649, allocations: 126 kB / 1.344 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.965, allocations: 25.09 kB / 1.344 GB, free: 9.871 MB / 1.014 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.0002868/0.9653, allocations: 287.7 kB / 1.344 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.9654, allocations: 105.8 kB / 1.344 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.966, allocations: 426.9 kB / 1.345 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.966, allocations: 2.75 kB / 1.345 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.966, allocations: 7.875 kB / 1.345 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.966, allocations: 2.094 kB / 1.345 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.9676, allocations: 1.545 MB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.9676, allocations: 4.312 kB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.9678, allocations: 41.58 kB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9678, allocations: 8.016 kB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.9678, allocations: 9.5 kB / 1.346 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.9678, allocations: 17.16 kB / 1.346 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9679, allocations: 8.938 kB / 1.346 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.9684, allocations: 0.5712 MB / 1.347 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.9686, allocations: 237.4 kB / 1.347 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9687, allocations: 16.06 kB / 1.347 GB, free: 8.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.9692, allocations: 30.64 kB / 1.347 GB, free: 8.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.9692, allocations: 24.75 kB / 1.347 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.9692, allocations: 19.25 kB / 1.347 GB, free: 8.641 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007594/0.97, allocations: 0.7847 MB / 1.348 GB, free: 8.527 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/0.97, allocations: 0 / 1.348 GB, free: 8.527 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007279/0.9708, allocations: 285.4 kB / 1.348 GB, free: 8.488 MB / 1.014 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.001204/0.972, allocations: 1.356 MB / 1.35 GB, free: 7.551 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004621/0.9724, allocations: 339 kB / 1.35 GB, free: 7.547 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9724, allocations: 2.875 kB / 1.35 GB, free: 7.547 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.9726, allocations: 143 kB / 1.35 GB, free: 7.543 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.9746, allocations: 0.5067 MB / 1.35 GB, free: 7.453 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009071/0.9837, allocations: 8.195 MB / 1.358 GB, free: 3.703 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.9842, allocations: 1.062 MB / 1.36 GB, free: 2.992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007421/0.985, allocations: 190.9 kB / 1.36 GB, free: 2.949 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/0.9853, allocations: 368.2 kB / 1.36 GB, free: 2.938 MB / 1.014 GB Notification: Performance of SimCode: time 6.02e-07/0.9853, allocations: 0 / 1.36 GB, free: 2.938 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.043/2.029, allocations: 27.62 MB / 1.387 GB, free: 8.453 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/2.029, allocations: 260.8 kB / 1.387 GB, free: 8.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.798/7.827, allocations: 3.5 kB / 1.387 GB, free: 8.102 MB / 1.029 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 & /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 --timeout=50 --tolerance=1e-06 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.mat","/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