Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001604/0.001604, allocations: 110.4 kB / 16.37 MB, free: 6.477 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.001707/0.001707, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.17 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3366, allocations: 153 MB / 1.027 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002394/0.3391, allocations: 0.8469 MB / 1.028 GB, free: 1.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.3392, allocations: 47.72 kB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.3393, allocations: 0 / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.3393, allocations: 7.875 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.3394, allocations: 3.938 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.41e-05/0.3395, allocations: 19.98 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.3396, allocations: 67.77 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.3398, allocations: 39.97 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.3399, allocations: 27.86 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.3399, allocations: 27.8 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.34, allocations: 12 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.03e-05/0.34, allocations: 4 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.34, allocations: 23.91 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.3401, allocations: 31.75 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3402, allocations: 71.7 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3403, allocations: 0 / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3403, allocations: 0 / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3403, allocations: 0 / 1.028 GB, free: 0.9023 MB / 0.795 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.0005088/0.3408, allocations: 375.2 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3408, allocations: 12.03 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3409, allocations: 8.844 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.3411, allocations: 200.1 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3411, allocations: 8.281 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3412, allocations: 8.375 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3413, allocations: 91.95 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3413, allocations: 4.188 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3414, allocations: 3.938 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3414, allocations: 0 / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.183e-05/0.3415, allocations: 43.92 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.342, allocations: 436.4 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.3421, allocations: 41.28 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.3422, allocations: 21.84 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.3422, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3422, allocations: 34.56 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3422, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001793/0.3424, allocations: 61.47 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3424, allocations: 77.36 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3426, allocations: 167.7 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3426, allocations: 29.64 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.3427, allocations: 104 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.3427, allocations: 7.844 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.3427, allocations: 17.72 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3429, allocations: 322.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.3429, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.3429, allocations: 25.72 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.833e-05/0.3429, allocations: 21.72 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.343, allocations: 0 / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.004e-05/0.343, allocations: 61.53 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3431, allocations: 10.66 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3431, allocations: 3.938 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3431, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.3432, allocations: 8.062 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3432, allocations: 4 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.3432, allocations: 7.844 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3432, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 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.0001309/0.3434, allocations: 121.7 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3434, allocations: 7.906 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3434, allocations: 15.81 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3434, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3434, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3435, allocations: 4.094 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.3438, allocations: 474.7 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3438, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.219e-05/0.3439, allocations: 7.984 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3439, allocations: 3.938 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.3439, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3439, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3439, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.249e-05/0.344, allocations: 85.91 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.344, allocations: 85 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3441, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.3441, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.3441, allocations: 3.938 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3441, allocations: 4.031 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.3442, allocations: 127.5 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3442, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.3444, allocations: 8 kB / 1.031 GB, free: 13.41 MB / 0.8106 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.0001642/0.3446, allocations: 99.23 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.3447, allocations: 16 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3447, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.547e-05/0.3447, allocations: 12.06 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.3449, allocations: 15.88 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3452, allocations: 162.8 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3456, allocations: 0.6885 MB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.3457, allocations: 8.422 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.3457, allocations: 15.56 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3457, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of Templates: time 0.002598/0.3483, allocations: 444.5 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches