Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 102.5 kB / 16.29 MB, free: 6.422 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.001224/0.001224, allocations: 183.9 kB / 17.22 MB, free: 5.934 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.663/1.663, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.949/1.949, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.002316/0.002316, allocations: 67.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.003547/0.337, allocations: 0.8453 MB / 0.7849 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002543/0.3373, allocations: 47.78 kB / 0.7849 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3375, allocations: 0 / 0.7849 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 8.268e-05/0.3376, allocations: 11.86 kB / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.3378, allocations: 7.875 kB / 0.785 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.023e-05/0.3379, allocations: 27.97 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3381, allocations: 67.78 kB / 0.7851 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.3384, allocations: 37.39 kB / 0.7851 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.3386, allocations: 27.86 kB / 0.7851 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.3388, allocations: 39.77 kB / 0.7852 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.3388, allocations: 8 kB / 0.7852 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.3388, allocations: 8 kB / 0.7852 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.3389, allocations: 11.94 kB / 0.7852 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.619e-05/0.339, allocations: 43.67 kB / 0.7852 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.3392, allocations: 83.91 kB / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.59e-05/0.3392, allocations: 0 / 0.7853 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.59e-06/0.3392, allocations: 3.938 kB / 0.7853 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.3392, allocations: 0 / 0.7853 GB, free: 2.559 MB / 0.6544 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.0008034/0.3401, allocations: 391.1 kB / 0.7857 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.3401, allocations: 8.031 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.3402, allocations: 20.69 kB / 0.7857 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3405, allocations: 188.2 kB / 0.7859 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.3406, allocations: 12.36 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3406, allocations: 12.38 kB / 0.7859 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.3408, allocations: 83.95 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3408, allocations: 192 / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3409, allocations: 11.94 kB / 0.786 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3409, allocations: 8 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.341, allocations: 43.91 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.3418, allocations: 444.5 kB / 0.7865 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.3419, allocations: 41.28 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.342, allocations: 17.84 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.342, allocations: 0 / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.3421, allocations: 34.56 kB / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.3422, allocations: 0 / 0.7866 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.3424, allocations: 65.47 kB / 0.7866 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.3425, allocations: 85.3 kB / 0.7867 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3427, allocations: 165.5 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3427, allocations: 25.7 kB / 0.7869 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3429, allocations: 111.9 kB / 0.787 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3429, allocations: 7.906 kB / 0.787 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.3429, allocations: 17.7 kB / 0.787 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3431, allocations: 318.8 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.713e-05/0.3432, allocations: 11.98 kB / 0.7873 GB, free: 236 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/0.3432, allocations: 21.72 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.3433, allocations: 25.72 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3433, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001205/0.3434, allocations: 65.53 kB / 0.7874 GB, free: 104 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3434, allocations: 4 kB / 0.7875 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3434, allocations: 3.938 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3435, allocations: 4.062 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.3436, allocations: 11.94 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3436, allocations: 0 / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.3436, allocations: 0 / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3436, allocations: 4 kB / 0.7875 GB, free: 76 kB / 0.6544 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.5946/0.9382, allocations: 114.9 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.9383, allocations: 12.03 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.9383, allocations: 12.19 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.9383, allocations: 3.75 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9384, allocations: 2.172 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9384, allocations: 1.375 kB / 0.7876 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.9389, allocations: 481.3 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9389, allocations: 4.25 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.9389, allocations: 3.328 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.9389, allocations: 2.656 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9389, allocations: 3.375 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.9389, allocations: 0.6562 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.939, allocations: 0.8438 kB / 0.7881 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.32e-05/0.939, allocations: 83.42 kB / 0.7882 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.9391, allocations: 95.34 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.9391, allocations: 3.188 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.9391, allocations: 0 / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.9392, allocations: 6.125 kB / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.9392, allocations: 0 / 0.7883 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.795e-05/0.9393, allocations: 128.2 kB / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9393, allocations: 0 / 0.7884 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002273/0.9395, allocations: 16.88 kB / 0.7884 GB, free: 48.06 MB / 0.6544 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.0001147/0.9396, allocations: 98.22 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.948e-05/0.9397, allocations: 23.67 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9397, allocations: 0 / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.9398, allocations: 13.78 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.9399, allocations: 7.859 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.9403, allocations: 164.8 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.9404, allocations: 0.6992 MB / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.9404, allocations: 5.031 kB / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.9405, allocations: 12 kB / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of SimCode: time 8.22e-07/0.9405, allocations: 0 / 0.7894 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.002504/0.943, allocations: 490.2 kB / 0.7899 GB, free: 47.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)