Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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.007874/0.007874, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.00184/0.00184, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.865/2.865, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 65.02 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3082, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002301/0.3105, allocations: 0.8726 MB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001412/0.3107, allocations: 43.78 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.3108, allocations: 4 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.3108, allocations: 3.938 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.3109, allocations: 7.922 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.75e-05/0.311, allocations: 16 kB / 1.054 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.3111, allocations: 55.75 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.3113, allocations: 47.95 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.44e-05/0.3113, allocations: 27.8 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.3114, allocations: 27.8 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3114, allocations: 7.938 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.3114, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3115, allocations: 11.98 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.3115, allocations: 27.75 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.3116, allocations: 56.17 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3116, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3116, allocations: 4 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3116, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 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.0004335/0.3121, allocations: 383.3 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3121, allocations: 8.031 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.3121, allocations: 12.84 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3124, allocations: 196.1 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3124, allocations: 8.375 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.3124, allocations: 4.375 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3126, allocations: 101.6 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3126, allocations: 192 / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.3126, allocations: 3.938 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3126, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.822e-05/0.3127, allocations: 43.91 kB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.3133, allocations: 432.5 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.3133, allocations: 45.27 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3134, allocations: 21.84 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3134, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.3134, allocations: 34.56 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3134, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001692/0.3136, allocations: 57.48 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3136, allocations: 85.03 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3138, allocations: 165 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3138, allocations: 25.7 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3139, allocations: 108 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.3139, allocations: 8.156 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3139, allocations: 21.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.314, allocations: 318.8 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.3141, allocations: 11.98 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.057e-05/0.3141, allocations: 13.72 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.3141, allocations: 25.72 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3141, allocations: 4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.166e-05/0.3142, allocations: 65.53 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3143, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3143, allocations: 3.938 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3143, allocations: 3.938 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.3144, allocations: 8 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3144, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.3144, allocations: 11.84 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3144, allocations: 4 kB / 1.056 GB, free: 4.637 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 7.202e-05/0.3145, allocations: 117.8 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.3145, allocations: 15.89 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.3146, allocations: 7.812 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3146, allocations: 4 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3146, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3146, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.315, allocations: 474.8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.315, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.315, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.315, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.315, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.315, allocations: 3.984 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.315, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.3151, allocations: 77.91 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3152, allocations: 89 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3152, allocations: 4 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.3152, allocations: 3.938 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3152, allocations: 3.938 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3152, allocations: 4 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.3153, allocations: 115.2 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3153, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.3155, allocations: 4 kB / 1.057 GB, free: 3.605 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.0001098/0.3156, allocations: 107.3 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.3157, allocations: 15.98 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3157, allocations: 0 / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.3157, allocations: 7.938 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.3159, allocations: 11.94 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.3162, allocations: 203.7 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3165, allocations: 0.6965 MB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3165, allocations: 11.44 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.3165, allocations: 4 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.002327/0.3188, allocations: 0.8677 MB / 1.059 GB, free: 1.609 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches