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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007788/0.0007789, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009415/0.0009416, allocations: 175.5 kB / 16.58 MB, free: 6.879 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.936/2.936, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005696, allocations: 11.94 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9793, allocations: 153.6 MB / 1.022 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.262/1.241, allocations: 227.4 MB / 1.244 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7751/2.016, allocations: 20.68 MB / 1.264 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/2.018, allocations: 46.47 kB / 1.264 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/2.021, allocations: 0.6351 MB / 1.265 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/2.026, allocations: 1.161 MB / 1.266 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/2.031, allocations: 1.348 MB / 1.267 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006236/2.037, allocations: 2.986 MB / 1.27 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/2.039, allocations: 0.899 MB / 1.271 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/2.043, allocations: 1.052 MB / 1.272 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/2.046, allocations: 0.8109 MB / 1.273 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/2.046, allocations: 34.09 kB / 1.273 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/2.05, allocations: 0.9031 MB / 1.274 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006569/2.051, allocations: 278.3 kB / 1.274 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/2.052, allocations: 261.4 kB / 1.274 GB, free: 24.28 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/2.055, allocations: 1.572 MB / 1.276 GB, free: 24.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/2.055, allocations: 0 / 1.276 GB, free: 24.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.905e-06/2.055, allocations: 1.281 kB / 1.276 GB, free: 24.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.623e-05/2.055, allocations: 0 / 1.276 GB, free: 24.16 MB / 1.014 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.002241/2.057, allocations: 1.249 MB / 1.277 GB, free: 23.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/2.057, allocations: 13.8 kB / 1.277 GB, free: 23.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/2.058, allocations: 227.9 kB / 1.277 GB, free: 23.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/2.059, allocations: 0.8289 MB / 1.278 GB, free: 23.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/2.06, allocations: 186.9 kB / 1.278 GB, free: 22.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/2.06, allocations: 87.84 kB / 1.278 GB, free: 22.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/2.061, allocations: 0.9221 MB / 1.279 GB, free: 22.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/2.061, allocations: 5.938 kB / 1.279 GB, free: 22.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/2.061, allocations: 46.42 kB / 1.279 GB, free: 22.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/2.061, allocations: 22.09 kB / 1.279 GB, free: 22.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/2.062, allocations: 0.6248 MB / 1.28 GB, free: 22.74 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.004533/2.067, allocations: 4.437 MB / 1.284 GB, free: 19.99 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/2.067, allocations: 190 kB / 1.284 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/2.068, allocations: 146.5 kB / 1.284 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/2.069, allocations: 1.017 MB / 1.285 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/2.069, allocations: 42.56 kB / 1.285 GB, free: 18.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.835e-06/2.069, allocations: 0 / 1.285 GB, free: 18.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001092/2.07, allocations: 464.1 kB / 1.286 GB, free: 18.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/2.07, allocations: 60.75 kB / 1.286 GB, free: 18.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/2.071, allocations: 1.095 MB / 1.287 GB, free: 18.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/2.072, allocations: 31.52 kB / 1.287 GB, free: 18.45 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/2.072, allocations: 0.5115 MB / 1.288 GB, free: 18.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/2.072, allocations: 77.53 kB / 1.288 GB, free: 18.21 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/2.072, allocations: 10.09 kB / 1.288 GB, free: 18.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001324/2.072, allocations: 330.7 kB / 1.288 GB, free: 17.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/2.072, allocations: 126.2 kB / 1.288 GB, free: 17.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/2.073, allocations: 382.9 kB / 1.288 GB, free: 17.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/2.073, allocations: 187.4 kB / 1.289 GB, free: 17.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/2.073, allocations: 2.688 kB / 1.289 GB, free: 17.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008792/2.074, allocations: 0.5316 MB / 1.289 GB, free: 17.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/2.074, allocations: 11.42 kB / 1.289 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/2.074, allocations: 6.844 kB / 1.289 GB, free: 17.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/2.074, allocations: 14.03 kB / 1.289 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/2.074, allocations: 88.09 kB / 1.289 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/2.074, allocations: 14.77 kB / 1.289 GB, free: 17.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/2.075, allocations: 122.7 kB / 1.289 GB, free: 17.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/2.075, allocations: 27.45 kB / 1.289 GB, free: 17.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004492/2.076, allocations: 290.7 kB / 1.29 GB, free: 17.32 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/2.076, allocations: 104 kB / 1.29 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/2.077, allocations: 425.8 kB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/2.077, allocations: 5.891 kB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/2.077, allocations: 3.344 kB / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/2.077, allocations: 0 / 1.29 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/2.079, allocations: 1.549 MB / 1.292 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/2.079, allocations: 4.906 kB / 1.292 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/2.079, allocations: 52.34 kB / 1.292 GB, free: 16.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/2.079, allocations: 9.906 kB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/2.079, allocations: 7.125 kB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/2.079, allocations: 5.625 kB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/2.079, allocations: 8.094 kB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/2.079, allocations: 0.5721 MB / 1.292 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/2.08, allocations: 243.8 kB / 1.293 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/2.08, allocations: 9.75 kB / 1.293 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/2.08, allocations: 42.05 kB / 1.293 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/2.08, allocations: 31.25 kB / 1.293 GB, free: 16.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/2.08, allocations: 17.75 kB / 1.293 GB, free: 16.21 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009537/2.081, allocations: 0.7609 MB / 1.293 GB, free: 16.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/2.081, allocations: 1.859 kB / 1.293 GB, free: 16.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009288/2.082, allocations: 278.7 kB / 1.294 GB, free: 16.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005453/2.083, allocations: 319 kB / 1.294 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005173/2.083, allocations: 329.4 kB / 1.294 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.083, allocations: 0 / 1.294 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/2.084, allocations: 141.6 kB / 1.294 GB, free: 15.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/2.086, allocations: 485.1 kB / 1.295 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/2.088, allocations: 1.87 MB / 1.297 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/2.088, allocations: 1.063 MB / 1.298 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/2.089, allocations: 71.25 kB / 1.298 GB, free: 14.12 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/2.089, allocations: 0 / 1.298 GB, free: 14.12 MB / 1.014 GB Notification: Performance of Templates: time 0.02353/2.112, allocations: 16.77 MB / 1.314 GB, free: 12.5 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversalCalcHelperMain.o] Error 1