Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 96.14 kB / 15.87 MB, free: 16 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.001929/0.001929, allocations: 192.9 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 222.6 MB, free: 5.012 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.873/1.873, allocations: 292.3 MB / 0.5491 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 66.8 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3754, allocations: 114.6 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.004305/0.3798, allocations: 0.8982 MB / 0.7842 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.3802, allocations: 43.8 kB / 0.7843 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3803, allocations: 0 / 0.7843 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.02e-05/0.3805, allocations: 7.922 kB / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001779/0.3807, allocations: 11.92 kB / 0.7843 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.773e-05/0.3808, allocations: 15.98 kB / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3809, allocations: 63.78 kB / 0.7844 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.3812, allocations: 41.39 kB / 0.7844 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.035e-05/0.3813, allocations: 23.86 kB / 0.7844 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.881e-05/0.3814, allocations: 31.8 kB / 0.7844 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3814, allocations: 4 kB / 0.7844 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3814, allocations: 4 kB / 0.7845 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.3815, allocations: 19.86 kB / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.3816, allocations: 39.73 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3817, allocations: 60.11 kB / 0.7846 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3817, allocations: 0 / 0.7846 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3817, allocations: 0 / 0.7846 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3818, allocations: 0 / 0.7846 GB, free: 12.78 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007796/0.3825, allocations: 395.2 kB / 0.7849 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.993e-05/0.3826, allocations: 12.03 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3827, allocations: 12.75 kB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.383, allocations: 199.1 kB / 0.7852 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3831, allocations: 16.31 kB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.3831, allocations: 4.375 kB / 0.7852 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3833, allocations: 87.95 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3833, allocations: 192 / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3834, allocations: 11.94 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3834, allocations: 3.938 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3835, allocations: 39.92 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.3844, allocations: 449.6 kB / 0.7857 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.3845, allocations: 41.25 kB / 0.7858 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.3846, allocations: 21.77 kB / 0.7858 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3846, allocations: 4 kB / 0.7858 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.3847, allocations: 30.56 kB / 0.7858 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.3847, allocations: 0 / 0.7858 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002548/0.3849, allocations: 57.48 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3851, allocations: 81.11 kB / 0.786 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.3853, allocations: 176.4 kB / 0.7861 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.3854, allocations: 29.95 kB / 0.7862 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3855, allocations: 112 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.3855, allocations: 3.906 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3856, allocations: 17.72 kB / 0.7863 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3858, allocations: 318.8 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.3858, allocations: 4 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.3859, allocations: 25.66 kB / 0.7866 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.685e-05/0.386, allocations: 33.7 kB / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.386, allocations: 0 / 0.7867 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.3861, allocations: 61.55 kB / 0.7867 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3861, allocations: 4 kB / 0.7867 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3861, allocations: 3.938 kB / 0.7867 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3862, allocations: 4 kB / 0.7867 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.331e-05/0.3863, allocations: 7.984 kB / 0.7867 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.3863, allocations: 0 / 0.7867 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.3863, allocations: 11.97 kB / 0.7867 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.3863, allocations: 0 / 0.7867 GB, free: 10.28 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001365/0.3865, allocations: 113.8 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.3865, allocations: 7.906 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3866, allocations: 16.5 kB / 0.7869 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.3866, allocations: 4.078 kB / 0.7869 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3866, allocations: 3.984 kB / 0.7869 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3866, allocations: 4 kB / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.3871, allocations: 482.6 kB / 0.7873 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3871, allocations: 7.938 kB / 0.7874 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.3872, allocations: 0 / 0.7874 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3872, allocations: 4 kB / 0.7874 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3872, allocations: 7.938 kB / 0.7874 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3872, allocations: 0 / 0.7874 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3872, allocations: 3.984 kB / 0.7874 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3873, allocations: 85.91 kB / 0.7875 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.3874, allocations: 88.91 kB / 0.7875 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3875, allocations: 4 kB / 0.7875 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.693e-05/0.3875, allocations: 4 kB / 0.7875 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.3875, allocations: 0 / 0.7875 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.3875, allocations: 4 kB / 0.7875 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000121/0.3876, allocations: 120 kB / 0.7877 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3877, allocations: 4.031 kB / 0.7877 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000193/0.3879, allocations: 8 kB / 0.7877 GB, free: 9.215 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000221/0.3881, allocations: 111.2 kB / 0.7878 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3882, allocations: 12 kB / 0.7878 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.3882, allocations: 0 / 0.7878 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.3883, allocations: 11.94 kB / 0.7878 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.3885, allocations: 8.188 kB / 0.7878 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.3889, allocations: 222 kB / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.3894, allocations: 0.7043 MB / 0.7887 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3895, allocations: 11.44 kB / 0.7887 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.3895, allocations: 0 / 0.7887 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.003473/0.393, allocations: 0.9106 MB / 0.7896 GB, free: 7.16 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.o] Error 1