Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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.0008491/0.0008489, allocations: 99.12 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.000971/0.000971, allocations: 177.7 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.4 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003772, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8837, allocations: 142.3 MB / 0.9544 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0008966/0.8846, allocations: 0.5084 MB / 0.9549 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.681e-05/0.8847, allocations: 41.12 kB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.304e-05/0.8848, allocations: 1.375 kB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.8848, allocations: 3.938 kB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.8849, allocations: 9.375 kB / 0.955 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.043e-05/0.8849, allocations: 15.45 kB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.885, allocations: 57.16 kB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.8852, allocations: 26.56 kB / 0.9551 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.8852, allocations: 21.7 kB / 0.9551 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.8853, allocations: 19.3 kB / 0.9551 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.8853, allocations: 6.25 kB / 0.9551 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.8853, allocations: 1.188 kB / 0.9551 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.8853, allocations: 7.062 kB / 0.9551 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.8854, allocations: 36.55 kB / 0.9552 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.68e-05/0.8854, allocations: 50.41 kB / 0.9552 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8855, allocations: 0 / 0.9552 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8855, allocations: 0 / 0.9552 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8855, allocations: 1.156 kB / 0.9552 GB, free: 7.566 MB / 0.7169 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.0003924/0.8859, allocations: 376.5 kB / 0.9556 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8859, allocations: 9.344 kB / 0.9556 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.886, allocations: 19.42 kB / 0.9556 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.8861, allocations: 189.5 kB / 0.9558 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8862, allocations: 6.844 kB / 0.9558 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.8862, allocations: 5.375 kB / 0.9558 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.8863, allocations: 87.92 kB / 0.9559 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8863, allocations: 3.984 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.8864, allocations: 1.156 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8864, allocations: 6.75 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.8865, allocations: 46.34 kB / 0.9559 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.887, allocations: 434 kB / 0.9563 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.887, allocations: 44.81 kB / 0.9564 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.8871, allocations: 19.5 kB / 0.9564 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.8871, allocations: 1.406 kB / 0.9564 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.8871, allocations: 35.95 kB / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8871, allocations: 0 / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/0.8873, allocations: 54.3 kB / 0.9565 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.8873, allocations: 78.52 kB / 0.9566 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8875, allocations: 162 kB / 0.9567 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.8875, allocations: 29.64 kB / 0.9567 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.8875, allocations: 105.1 kB / 0.9568 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.8875, allocations: 12.75 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.8876, allocations: 0 / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.8876, allocations: 325.8 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.8876, allocations: 7.312 kB / 0.9572 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.8877, allocations: 18 kB / 0.9572 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.8877, allocations: 8.406 kB / 0.9572 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.8877, allocations: 1.094 kB / 0.9572 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.599e-05/0.8878, allocations: 58.09 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8878, allocations: 7.219 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8878, allocations: 1.062 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8878, allocations: 5.938 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.8879, allocations: 4.031 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8879, allocations: 5.094 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.8879, allocations: 6.297 kB / 0.9573 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.8879, allocations: 1.344 kB / 0.9573 GB, free: 5.441 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.888, allocations: 117.1 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.888, allocations: 8.438 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.8881, allocations: 10.12 kB / 0.9574 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8881, allocations: 1.281 kB / 0.9574 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8881, allocations: 5.094 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.8881, allocations: 0 / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.8884, allocations: 477.9 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8884, allocations: 1.344 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.8884, allocations: 7.156 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8884, allocations: 1.062 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.8884, allocations: 0 / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8884, allocations: 5.094 kB / 0.9579 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8884, allocations: 4.938 kB / 0.9579 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.635e-05/0.8885, allocations: 77.77 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.8886, allocations: 92 kB / 0.9581 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.8886, allocations: 1.094 kB / 0.9581 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.845e-05/0.8886, allocations: 1.156 kB / 0.9581 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.8886, allocations: 5.094 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.8886, allocations: 1.156 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.8887, allocations: 121.3 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8887, allocations: 0 / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.8889, allocations: 15.48 kB / 0.9582 GB, free: 4.488 MB / 0.7169 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 (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.0001211/0.889, allocations: 100.3 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.547e-05/0.8891, allocations: 17.97 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8891, allocations: 4.125 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.8892, allocations: 8.156 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8894, allocations: 2.906 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.8899, allocations: 217.2 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.89, allocations: 0.6903 MB / 0.9592 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.8901, allocations: 12.19 kB / 0.9592 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8901, allocations: 0 / 0.9592 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of Templates: time 0.003244/0.8933, allocations: 0.8529 MB / 0.96 GB, free: 3.016 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_galCalcHelperMain.o] Error 1