Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009476, allocations: 98.56 kB / 16.02 MB, free: 76 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.001582/0.001582, allocations: 187 kB / 16.92 MB, free: 6.75 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.916/1.916, allocations: 205.4 MB / 223.1 MB, free: 5.785 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.968/1.968, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006038/0.0006039, allocations: 15.94 kB / 0.675 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3377, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001118/0.3389, allocations: 0.4905 MB / 0.789 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009844/0.3399, allocations: 0.8282 MB / 0.7898 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.34, allocations: 7.938 kB / 0.7898 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.3402, allocations: 59.78 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.3403, allocations: 27.91 kB / 0.7899 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.258e-05/0.3403, allocations: 11.98 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.3405, allocations: 95.67 kB / 0.79 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.3406, allocations: 20 kB / 0.7901 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.3407, allocations: 31.89 kB / 0.7901 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3409, allocations: 75.78 kB / 0.7902 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3409, allocations: 4 kB / 0.7902 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.3409, allocations: 4 kB / 0.7902 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.341, allocations: 35.91 kB / 0.7902 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.3411, allocations: 65.38 kB / 0.7903 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3412, allocations: 83.81 kB / 0.7903 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3412, allocations: 4 kB / 0.7903 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3412, allocations: 0 / 0.7903 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3412, allocations: 0 / 0.7903 GB, free: 9.734 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008196/0.3421, allocations: 467.2 kB / 0.7908 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3421, allocations: 12.03 kB / 0.7908 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.3422, allocations: 12.84 kB / 0.7908 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3424, allocations: 204.7 kB / 0.791 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3424, allocations: 4.375 kB / 0.791 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3424, allocations: 8.375 kB / 0.791 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.3429, allocations: 167.8 kB / 0.7912 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3429, allocations: 192 / 0.7912 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.3429, allocations: 15.92 kB / 0.7912 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3429, allocations: 0 / 0.7912 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.3435, allocations: 199.8 kB / 0.7914 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.3444, allocations: 0.5203 MB / 0.7919 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/0.3448, allocations: 181.1 kB / 0.7921 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.3451, allocations: 110.8 kB / 0.7922 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3452, allocations: 4 kB / 0.7922 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3452, allocations: 34.55 kB / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3452, allocations: 0 / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0009674/0.3462, allocations: 329.3 kB / 0.7925 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.3462, allocations: 81.11 kB / 0.7926 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.3464, allocations: 165.5 kB / 0.7928 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3464, allocations: 33.69 kB / 0.7928 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.3465, allocations: 104 kB / 0.7929 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3465, allocations: 23.7 kB / 0.7929 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.3466, allocations: 9.719 kB / 0.7929 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3467, allocations: 330.7 kB / 0.7932 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.347, allocations: 95.92 kB / 0.7933 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.3473, allocations: 109.6 kB / 0.7934 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.3478, allocations: 205.5 kB / 0.7936 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3478, allocations: 4 kB / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005873/0.3484, allocations: 245.3 kB / 0.7939 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3484, allocations: 4 kB / 0.7939 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3485, allocations: 0 / 0.7939 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3485, allocations: 4.469 kB / 0.7939 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3487, allocations: 43.95 kB / 0.7939 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3487, allocations: 0 / 0.7939 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3489, allocations: 39.84 kB / 0.794 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3489, allocations: 0 / 0.794 GB, free: 5.773 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 (8): * Single equations (assignments): 8 * 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.0001153/0.349, allocations: 141.7 kB / 0.7941 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.3491, allocations: 11.81 kB / 0.7941 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.3491, allocations: 24.22 kB / 0.7941 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3492, allocations: 4 kB / 0.7941 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3492, allocations: 0 / 0.7941 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3492, allocations: 0 / 0.7941 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.3495, allocations: 225.5 kB / 0.7943 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3495, allocations: 0 / 0.7943 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3497, allocations: 51.95 kB / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3497, allocations: 0 / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3497, allocations: 0 / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3497, allocations: 4 kB / 0.7944 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3497, allocations: 0 / 0.7944 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.3504, allocations: 414.5 kB / 0.7948 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.3504, allocations: 88.92 kB / 0.7949 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.3505, allocations: 4 kB / 0.7949 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3507, allocations: 39.95 kB / 0.7949 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.879e-05/0.3507, allocations: 11.98 kB / 0.7949 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.3508, allocations: 4 kB / 0.7949 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.25e-05/0.3509, allocations: 117 kB / 0.795 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3509, allocations: 0 / 0.795 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000266/0.3511, allocations: 20 kB / 0.7951 GB, free: 4.539 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 (8): * Single equations (assignments): 8 * 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.0001568/0.3513, allocations: 103.2 kB / 0.7952 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.3519, allocations: 211.7 kB / 0.7954 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3519, allocations: 0 / 0.7954 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.3522, allocations: 111.8 kB / 0.7955 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3526, allocations: 8 kB / 0.7955 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.3532, allocations: 319.9 kB / 0.7958 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3535, allocations: 0.7199 MB / 0.7965 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.3535, allocations: 11.44 kB / 0.7965 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3536, allocations: 4 kB / 0.7965 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.0034/0.357, allocations: 1.474 MB / 0.7979 GB, free: 1.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.CDL.Continuous.Validation.MatrixGainCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGainCalcHelperMain.o] Error 1