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.001377/0.001377, allocations: 108 kB / 15.6 MB, free: 132 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.001628/0.001628, allocations: 198 kB / 16.54 MB, free: 6.672 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.602/2.602, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.8001, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002155/0.8023, allocations: 0.8105 MB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.8024, allocations: 45.28 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.8025, allocations: 5.312 kB / 0.9504 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.8025, allocations: 9.25 kB / 0.9504 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.8026, allocations: 15.8 kB / 0.9505 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.461e-05/0.8027, allocations: 20.11 kB / 0.9505 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.8028, allocations: 59.28 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.8029, allocations: 36.47 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.803, allocations: 24.12 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.803, allocations: 39.83 kB / 0.9506 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.8031, allocations: 10.88 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.8031, allocations: 5.5 kB / 0.9506 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.8031, allocations: 14.69 kB / 0.9507 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.8031, allocations: 30.67 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.856e-05/0.8032, allocations: 74.05 kB / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8032, allocations: 0 / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8033, allocations: 1.375 kB / 0.9508 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8033, allocations: 0 / 0.9508 GB, free: 8.293 MB / 0.7169 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.0003737/0.8036, allocations: 378.5 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.8037, allocations: 13.62 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.8037, allocations: 8.969 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.8039, allocations: 197.7 kB / 0.9513 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.8039, allocations: 8.5 kB / 0.9513 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.8039, allocations: 8.5 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.8041, allocations: 86.08 kB / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8041, allocations: 192 / 0.9514 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.8041, allocations: 9.312 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8041, allocations: 5.375 kB / 0.9514 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.8042, allocations: 39.62 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.8046, allocations: 433.8 kB / 0.9519 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.318e-05/0.8047, allocations: 45.3 kB / 0.9519 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.8047, allocations: 23.12 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.8047, allocations: 1.469 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.8048, allocations: 30.56 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8048, allocations: 1.344 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.8049, allocations: 55.05 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.805, allocations: 89.12 kB / 0.9521 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.8051, allocations: 156 kB / 0.9523 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.8051, allocations: 25.7 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.8052, allocations: 112.1 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.8052, allocations: 5.406 kB / 0.9524 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.8052, allocations: 25.67 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.8053, allocations: 324.2 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.8053, allocations: 15.42 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.8053, allocations: 18.38 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.8053, allocations: 22.47 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8053, allocations: 1.438 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.328e-05/0.8054, allocations: 62.22 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8054, allocations: 5.688 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.8055, allocations: 8 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8055, allocations: 1.438 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.8055, allocations: 5.594 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8056, allocations: 1.531 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.8056, allocations: 1.156 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.8056, allocations: 1.312 kB / 0.9529 GB, free: 6.117 MB / 0.7169 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.558e-05/0.8057, allocations: 114.1 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.8057, allocations: 11.14 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.8057, allocations: 14.59 kB / 0.953 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8057, allocations: 5.5 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.8057, allocations: 1.469 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8058, allocations: 3.938 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.806, allocations: 470 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.806, allocations: 1.75 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.8061, allocations: 6.781 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8061, allocations: 0 / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.8061, allocations: 5.438 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8061, allocations: 3.984 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8061, allocations: 1.531 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.393e-05/0.8062, allocations: 77.62 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.8062, allocations: 92.38 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.8062, allocations: 0.9062 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.8062, allocations: 1.438 kB / 0.9537 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.8063, allocations: 4.875 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.8063, allocations: 1.531 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.8063, allocations: 128.6 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8063, allocations: 0 / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001842/0.8065, allocations: 6.812 kB / 0.9538 GB, free: 5.164 MB / 0.7169 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.0001076/0.8066, allocations: 98.94 kB / 0.9539 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.8067, allocations: 26.67 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8067, allocations: 0 / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.115e-05/0.8068, allocations: 7.812 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.8069, allocations: 14.62 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.8072, allocations: 161.7 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.8074, allocations: 0.6983 MB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.8074, allocations: 5.031 kB / 0.9548 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.8074, allocations: 11.5 kB / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8074, allocations: 0 / 0.9548 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of Templates: time 0.002492/0.8099, allocations: 454.2 kB / 0.9552 GB, free: 3.949 MB / 0.7169 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