Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001816/0.001816, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.8251, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001908/0.8271, allocations: 0.8222 MB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.8272, allocations: 41.27 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.8273, allocations: 1.156 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.8273, allocations: 9.891 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.8274, allocations: 10.27 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.491e-05/0.8274, allocations: 19.95 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.8276, allocations: 64.06 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.8277, allocations: 32.77 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.355e-05/0.8278, allocations: 30.81 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.8278, allocations: 39.28 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.8279, allocations: 6.188 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.8279, allocations: 5.281 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.8279, allocations: 16.27 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.8279, allocations: 33.14 kB / 1.09 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.8281, allocations: 73.78 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8281, allocations: 0 / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8281, allocations: 1.406 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8281, allocations: 0 / 1.09 GB, free: 4.754 MB / 0.8575 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.0003535/0.8284, allocations: 381.8 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.8285, allocations: 9.469 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.8285, allocations: 17.56 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.8287, allocations: 192.5 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8287, allocations: 3.781 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.8287, allocations: 9.062 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.8289, allocations: 90.81 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.8289, allocations: 192 / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8289, allocations: 13.09 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8289, allocations: 1.969 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.981e-05/0.829, allocations: 39.84 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.8295, allocations: 434.3 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.126e-05/0.8296, allocations: 54.08 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.8296, allocations: 16.69 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.8296, allocations: 0.7031 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.8296, allocations: 37.33 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8296, allocations: 0 / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.8298, allocations: 56.88 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.8299, allocations: 82.39 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.83, allocations: 158.5 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.83, allocations: 25.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.8301, allocations: 104.5 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.8301, allocations: 5.781 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.8301, allocations: 17.48 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.8302, allocations: 319.8 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.8302, allocations: 8.625 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.8302, allocations: 19.38 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.8303, allocations: 27.72 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8303, allocations: 0 / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.4e-05/0.8304, allocations: 61.45 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.8304, allocations: 5.344 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8304, allocations: 9.641 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.8304, allocations: 1 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.771e-05/0.8305, allocations: 6.25 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.8305, allocations: 1.891 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.8305, allocations: 5.844 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.8305, allocations: 1.094 kB / 1.092 GB, free: 2.684 MB / 0.8575 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 5.153e-05/0.8306, allocations: 114.5 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.8306, allocations: 7.766 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.8306, allocations: 16.66 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.8307, allocations: 4.938 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8307, allocations: 1.641 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8307, allocations: 3.938 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.831, allocations: 471.2 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.831, allocations: 0.75 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.831, allocations: 4.094 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.831, allocations: 0.8438 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.831, allocations: 12.83 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.831, allocations: 1.125 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.831, allocations: 4.5 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.713e-05/0.8311, allocations: 80.81 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.8312, allocations: 90.41 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.8312, allocations: 1.578 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.8312, allocations: 5.391 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.8312, allocations: 1.656 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.8312, allocations: 5.062 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.661e-05/0.8313, allocations: 125.5 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8313, allocations: 0 / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001877/0.8315, allocations: 6.625 kB / 1.093 GB, free: 1.754 MB / 0.8575 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.0001061/0.8316, allocations: 98.67 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.959e-05/0.8317, allocations: 27.66 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.8317, allocations: 0 / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.8317, allocations: 4.797 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.8319, allocations: 11.06 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.8322, allocations: 195.5 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.8324, allocations: 0.6959 MB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.8324, allocations: 11.78 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8324, allocations: 0 / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.00254/0.8349, allocations: 0.8611 MB / 1.095 GB, free: 16.68 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches