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.001678/0.001678, allocations: 106 kB / 16.41 MB, free: 6.406 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.001862/0.001862, allocations: 191.2 kB / 17.34 MB, free: 5.695 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.09 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.221/2.221, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 59.91 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9896/0.9911, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002023/0.9931, allocations: 0.8257 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.9933, allocations: 40.41 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.9933, allocations: 1.469 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.9934, allocations: 13.17 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.76e-05/0.9935, allocations: 14.52 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.411e-05/0.9935, allocations: 17.69 kB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.9936, allocations: 57.72 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.9937, allocations: 41.77 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.9938, allocations: 29.53 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.9939, allocations: 34.77 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.9939, allocations: 5.75 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.9939, allocations: 6.125 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.9939, allocations: 12.45 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.994, allocations: 37.25 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.9941, allocations: 75.28 kB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.9941, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9941, allocations: 0 / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9941, allocations: 1 kB / 1.09 GB, free: 4.734 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.000344/0.9945, allocations: 373.5 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.9945, allocations: 10.39 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.9946, allocations: 13.31 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.9947, allocations: 193.2 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.9947, allocations: 10.84 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.9948, allocations: 5.469 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.9949, allocations: 94.59 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9949, allocations: 192 / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9949, allocations: 5 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.995, allocations: 2.734 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.995, allocations: 36.22 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.9955, allocations: 438.5 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/0.9956, allocations: 41.2 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.9956, allocations: 21.11 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.9956, allocations: 4 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.9956, allocations: 40.23 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9956, allocations: 1.25 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.9958, allocations: 55.89 kB / 1.091 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.9958, allocations: 77.95 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.996, allocations: 159.9 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.996, allocations: 25.95 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.9961, allocations: 112.2 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.9961, allocations: 8.609 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.9961, allocations: 15.06 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.9962, allocations: 323.3 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.9962, allocations: 8.156 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.9962, allocations: 20.47 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.9963, allocations: 35.23 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9963, allocations: 0 / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.696e-05/0.9964, allocations: 52.91 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9964, allocations: 5.484 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9964, allocations: 5.062 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.9964, allocations: 1.922 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.9965, allocations: 9.859 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.9965, allocations: 5.141 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.9965, allocations: 15.19 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.9965, allocations: 1.344 kB / 1.092 GB, free: 2.656 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 4.906e-05/0.9966, allocations: 109 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.9966, allocations: 11.97 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.9967, allocations: 13.47 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9967, allocations: 0.5625 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9967, allocations: 1.312 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9967, allocations: 0.7969 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.997, allocations: 478.1 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.997, allocations: 1.938 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.997, allocations: 3 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.997, allocations: 1.828 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.997, allocations: 0 / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.997, allocations: 1.156 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.997, allocations: 1.844 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.9971, allocations: 87.48 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.9971, allocations: 94.3 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9972, allocations: 1.609 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.9972, allocations: 1.469 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.9972, allocations: 1.625 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.9972, allocations: 1.062 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.387e-05/0.9973, allocations: 122.7 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9973, allocations: 4.031 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001818/0.9975, allocations: 7.125 kB / 1.093 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.0001111/0.9976, allocations: 101.9 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.849e-05/0.9977, allocations: 25.34 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9977, allocations: 0 / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.9977, allocations: 4.25 kB / 1.093 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.0001507/0.9979, allocations: 14.45 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.9982, allocations: 194.4 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.9983, allocations: 0.6968 MB / 1.094 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.9984, allocations: 11.22 kB / 1.094 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9984, allocations: 4.812 kB / 1.094 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.002486/1.001, allocations: 0.8644 MB / 1.095 GB, free: 16.66 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/jenkins1/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