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.000925/0.0009251, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003846, allocations: 10.72 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001135/0.3144, allocations: 0.5453 MB / 1.06 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.3146, allocations: 39.78 kB / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.3147, allocations: 0 / 1.06 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.3147, allocations: 3.938 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.3148, allocations: 7.984 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.559e-05/0.3149, allocations: 15.94 kB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.315, allocations: 63.75 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.3151, allocations: 43.97 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3152, allocations: 15.86 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.3153, allocations: 19.88 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3153, allocations: 4 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.3153, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.3153, allocations: 19.84 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.3154, allocations: 53.45 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.388e-05/0.3155, allocations: 48.17 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3155, allocations: 0 / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3155, allocations: 0 / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3155, allocations: 0 / 1.06 GB, free: 4.113 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.0004136/0.3159, allocations: 376.6 kB / 1.061 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.316, allocations: 8.031 kB / 1.061 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.316, allocations: 8.844 kB / 1.061 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.3162, allocations: 188.2 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3163, allocations: 384 / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.3163, allocations: 16.31 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3165, allocations: 91.94 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3165, allocations: 192 / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3165, allocations: 7.938 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3165, allocations: 4 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.57e-05/0.3166, allocations: 43.86 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3172, allocations: 432.6 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.16e-05/0.3172, allocations: 45.19 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.3173, allocations: 17.84 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.3173, allocations: 0 / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3173, allocations: 38.55 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.3173, allocations: 0 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.3175, allocations: 57.48 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.3176, allocations: 81.11 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3177, allocations: 163.7 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3177, allocations: 25.7 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.3178, allocations: 107.9 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.3178, allocations: 0 / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.3178, allocations: 13.72 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.318, allocations: 323.1 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.318, allocations: 11.94 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.318, allocations: 21.66 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.3181, allocations: 25.7 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3181, allocations: 0 / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.968e-05/0.3182, allocations: 57.55 kB / 1.062 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3182, allocations: 8.062 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3182, allocations: 3.938 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3182, allocations: 0 / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.3183, allocations: 15.98 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3183, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.3184, allocations: 7.844 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.3184, allocations: 4 kB / 1.062 GB, free: 1.691 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.933e-05/0.3185, allocations: 113.8 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3185, allocations: 7.906 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.3185, allocations: 15.8 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3185, allocations: 8.078 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3186, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3186, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.3189, allocations: 470.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3189, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.319, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.319, allocations: 64 / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.319, allocations: 4 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.319, allocations: 3.938 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.319, allocations: 4 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.55e-05/0.3191, allocations: 85.77 kB / 1.063 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.3192, allocations: 85.02 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3192, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.3192, allocations: 12.02 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.3192, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3192, allocations: 4 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.536e-05/0.3193, allocations: 122.1 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3193, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001912/0.3195, allocations: 11.91 kB / 1.063 GB, free: 0.6484 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.0001211/0.3196, allocations: 103.2 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.876e-05/0.3197, allocations: 16 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3197, allocations: 3.938 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.3198, allocations: 4 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.3199, allocations: 11.94 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3203, allocations: 210.5 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3205, allocations: 0.6926 MB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3205, allocations: 11.44 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3206, allocations: 0 / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.002376/0.3229, allocations: 0.852 MB / 1.065 GB, free: 14.67 MB / 0.8262 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 -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