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.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.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.001492/0.001492, allocations: 104.4 kB / 16.35 MB, free: 6.285 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.001629/0.001629, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.278/2.278, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 64.36 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002292/0.2962, allocations: 0.8269 MB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/0.2963, allocations: 39.78 kB / 0.952 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.2964, allocations: 8 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.888e-05/0.2964, allocations: 7.875 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.2965, allocations: 7.875 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.932e-05/0.2966, allocations: 23.97 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2967, allocations: 59.84 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.2968, allocations: 39.98 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.2969, allocations: 23.86 kB / 0.9521 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.297, allocations: 35.78 kB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.297, allocations: 8 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-06/0.297, allocations: 4 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.297, allocations: 15.92 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2971, allocations: 27.81 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.2972, allocations: 83.62 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2972, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2972, allocations: 4 kB / 0.9523 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2972, allocations: 0 / 0.9523 GB, free: 6.809 MB / 0.7325 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.0004646/0.2977, allocations: 379.2 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.2977, allocations: 8.031 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.2978, allocations: 8.844 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.298, allocations: 196.1 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.298, allocations: 8.375 kB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.298, allocations: 4.375 kB / 0.9529 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2982, allocations: 99.8 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2982, allocations: 4.125 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2982, allocations: 7.938 kB / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2983, allocations: 0 / 0.953 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.2983, allocations: 39.92 kB / 0.953 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.2989, allocations: 432.7 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.2989, allocations: 37.16 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.299, allocations: 25.88 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.299, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.299, allocations: 30.56 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.299, allocations: 4 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.2992, allocations: 57.47 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.2993, allocations: 81.11 kB / 0.9537 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.2994, allocations: 168.4 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2995, allocations: 25.7 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.175e-05/0.2995, allocations: 104 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.2995, allocations: 3.906 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2996, allocations: 21.97 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2997, allocations: 322.8 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.2997, allocations: 0 / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.456e-05/0.2997, allocations: 21.72 kB / 0.9543 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.2998, allocations: 29.66 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2998, allocations: 0 / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.764e-05/0.2999, allocations: 61.53 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2999, allocations: 8 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2999, allocations: 3.938 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2999, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.866e-05/0.3, allocations: 4 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3, allocations: 7.984 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.3001, allocations: 11.78 kB / 0.9544 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3001, allocations: 4 kB / 0.9544 GB, free: 4.371 MB / 0.7325 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 8.061e-05/0.3002, allocations: 113.9 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3002, allocations: 7.906 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3002, allocations: 15.81 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3002, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3003, allocations: 4 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3003, allocations: 0 / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.3006, allocations: 478.8 kB / 0.955 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3007, allocations: 4.062 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.3007, allocations: 11.98 kB / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3007, allocations: 0 / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.3007, allocations: 3.938 kB / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3007, allocations: 0 / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3007, allocations: 0 / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.707e-05/0.3008, allocations: 81.77 kB / 0.9551 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.3008, allocations: 89.05 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3009, allocations: 8 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.3009, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.085e-05/0.3009, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.3009, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.063e-05/0.301, allocations: 121.3 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.301, allocations: 0 / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001795/0.3012, allocations: 8 kB / 0.9553 GB, free: 3.332 MB / 0.7325 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.0001179/0.3013, allocations: 103.2 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.3014, allocations: 19.94 kB / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3014, allocations: 0 / 0.9554 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.3014, allocations: 8 kB / 0.9555 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3016, allocations: 14 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.3019, allocations: 166.7 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3023, allocations: 0.6964 MB / 0.9563 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3023, allocations: 8.422 kB / 0.9563 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.3023, allocations: 11.44 kB / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.3023, allocations: 0 / 0.9563 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of Templates: time 0.002445/0.3048, allocations: 452.5 kB / 0.9568 GB, free: 1.801 MB / 0.7325 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 -s gbode -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