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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 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.001697/0.001697, allocations: 196.6 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.7 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 73.06 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3936, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002144/0.3958, allocations: 0.8194 MB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.3959, allocations: 39.78 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.396, allocations: 4 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.3961, allocations: 7.875 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.665e-05/0.3961, allocations: 15.86 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.939e-05/0.3962, allocations: 19.98 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.3963, allocations: 59.84 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3964, allocations: 35.97 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.626e-05/0.3965, allocations: 35.8 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.3966, allocations: 27.84 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3966, allocations: 8 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.092e-05/0.3966, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.3966, allocations: 15.94 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.3967, allocations: 35.73 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.3968, allocations: 68.05 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3968, allocations: 7.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3968, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.3968, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 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.0004222/0.3973, allocations: 387.1 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3973, allocations: 8.031 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.3973, allocations: 8.844 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.3975, allocations: 196.1 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3976, allocations: 4.375 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3976, allocations: 8.375 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.3977, allocations: 89.52 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3977, allocations: 8.125 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3977, allocations: 3.938 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3978, allocations: 4 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.3978, allocations: 39.92 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.3983, allocations: 432.5 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.923e-05/0.3984, allocations: 49.27 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.3985, allocations: 13.84 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3985, allocations: 4 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.3985, allocations: 34.56 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3985, allocations: 0 / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/0.3987, allocations: 61.47 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3987, allocations: 85.05 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3989, allocations: 160.5 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3989, allocations: 29.7 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.399, allocations: 104 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.399, allocations: 7.891 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.399, allocations: 17.72 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3991, allocations: 319.1 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.3992, allocations: 7.984 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.3992, allocations: 21.72 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.3992, allocations: 21.72 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3992, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.007e-05/0.3993, allocations: 61.53 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3993, allocations: 8.062 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3994, allocations: 7.938 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3994, allocations: 0 / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.3994, allocations: 4 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3994, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.3995, allocations: 11.84 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.3995, allocations: 0 / 1.072 GB, free: 6.746 MB / 0.8262 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.396e-05/0.3996, allocations: 124 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3996, allocations: 11.89 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.3997, allocations: 19.81 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.3997, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3997, allocations: 0 / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3997, allocations: 7.938 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4001, allocations: 462.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4001, allocations: 4 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.4001, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4001, allocations: 12.06 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4001, allocations: 3.984 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4001, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4001, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.958e-05/0.4002, allocations: 73.84 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.4003, allocations: 89 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.4003, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/0.4003, allocations: 15.97 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.4003, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.4003, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.503e-05/0.4004, allocations: 121.9 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4004, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002012/0.4006, allocations: 11.91 kB / 1.072 GB, free: 5.691 MB / 0.8262 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.0001082/0.4008, allocations: 95.25 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.419e-05/0.4008, allocations: 23.98 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4009, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.4009, allocations: 11.94 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.401, allocations: 7.938 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.4013, allocations: 159 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.4016, allocations: 0.6963 MB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.4016, allocations: 4.438 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.4017, allocations: 11.44 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.4017, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.002281/0.404, allocations: 460.6 kB / 1.074 GB, free: 4.172 MB / 0.8262 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/jenkins/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