Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.007678/0.007678, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001281/0.001282, allocations: 196.8 kB / 16.67 MB, free: 5.934 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 60.14 kB / 0.9508 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002081/1.045, allocations: 0.8277 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001131/1.046, allocations: 40.84 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/1.046, allocations: 1.344 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/1.046, allocations: 13.28 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/1.046, allocations: 10.8 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.099e-05/1.046, allocations: 15.36 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/1.046, allocations: 67.16 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/1.046, allocations: 37.75 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/1.046, allocations: 25.84 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/1.046, allocations: 30.31 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/1.046, allocations: 6.594 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/1.046, allocations: 6.344 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/1.046, allocations: 20.41 kB / 1.089 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/1.046, allocations: 27.75 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/1.047, allocations: 75.19 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.047, allocations: 5.906 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.764e-06/1.047, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.047, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 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.0004468/1.047, allocations: 377.6 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.047, allocations: 9.875 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.047, allocations: 14.25 kB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.047, allocations: 195.7 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.047, allocations: 7.562 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/1.047, allocations: 9.281 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/1.047, allocations: 89.2 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.047, allocations: 5.312 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/1.048, allocations: 12.92 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/1.048, allocations: 2.125 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/1.048, allocations: 35.59 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/1.048, allocations: 433.4 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.159e-05/1.048, allocations: 46.33 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/1.048, allocations: 20.39 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/1.048, allocations: 5.328 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/1.048, allocations: 31.89 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.048, allocations: 0.75 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/1.048, allocations: 60.19 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/1.048, allocations: 78.77 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/1.049, allocations: 160.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/1.049, allocations: 26.83 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/1.049, allocations: 107.9 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.784e-06/1.049, allocations: 5.766 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/1.049, allocations: 17.55 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/1.049, allocations: 324.4 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/1.049, allocations: 7.016 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/1.049, allocations: 20.47 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/1.049, allocations: 23.02 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.049, allocations: 1.672 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.742e-05/1.049, allocations: 60.16 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.049, allocations: 9.953 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.049, allocations: 5 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/1.049, allocations: 1.094 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/1.049, allocations: 6.328 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.049, allocations: 5.719 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/1.049, allocations: 6.094 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/1.049, allocations: 1.156 kB / 1.091 GB, free: 2.668 MB / 0.8575 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 5.985e-05/1.049, allocations: 118.4 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/1.049, allocations: 8 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/1.049, allocations: 16.59 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.049, allocations: 0.9688 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.049, allocations: 1.828 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.049, allocations: 0 / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/1.05, allocations: 471.6 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.05, allocations: 4 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/1.05, allocations: 7.766 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.05, allocations: 5.094 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/1.05, allocations: 0.7969 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.05, allocations: 0.9688 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.05, allocations: 5.156 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/1.05, allocations: 80.28 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/1.05, allocations: 90.84 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/1.05, allocations: 5.766 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/1.05, allocations: 0.9688 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/1.05, allocations: 1.797 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/1.05, allocations: 0.9062 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.522e-05/1.05, allocations: 124.2 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 3.938 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001888/1.05, allocations: 7.375 kB / 1.092 GB, free: 1.742 MB / 0.8575 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.0001033/1.05, allocations: 98.98 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001013/1.05, allocations: 23.34 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.05, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/1.05, allocations: 9.047 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/1.051, allocations: 11.58 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/1.051, allocations: 164.4 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/1.051, allocations: 0.697 MB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.489e-05/1.051, allocations: 6.938 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/1.051, allocations: 11.84 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/1.051, allocations: 0 / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.00282/1.054, allocations: 462 kB / 1.094 GB, free: 16.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches