Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001375/0.001376, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.461/2.461, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001489, allocations: 63.91 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8103/0.8118, allocations: 140.4 MB / 0.9489 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.003643/0.8155, allocations: 0.8862 MB / 0.9498 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.8158, allocations: 41.19 kB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.816, allocations: 5.438 kB / 0.9498 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.485e-05/0.8161, allocations: 3.938 kB / 0.9498 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.8163, allocations: 5.188 kB / 0.9498 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.655e-05/0.8164, allocations: 16.05 kB / 0.9499 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.8166, allocations: 49.89 kB / 0.9499 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.8169, allocations: 51.06 kB / 0.95 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.8171, allocations: 24.06 kB / 0.95 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.8172, allocations: 33.28 kB / 0.95 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.8172, allocations: 6.75 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.8172, allocations: 4.125 kB / 0.95 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.8173, allocations: 10.69 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.906e-05/0.8174, allocations: 30.67 kB / 0.9501 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.8175, allocations: 70.05 kB / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.8176, allocations: 0 / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8176, allocations: 0 / 0.9501 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.8176, allocations: 0 / 0.9501 GB, free: 8.277 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.0006837/0.8183, allocations: 378.5 kB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.148e-05/0.8184, allocations: 9.625 kB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.8184, allocations: 16.97 kB / 0.9505 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.8188, allocations: 191.2 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.8188, allocations: 3.125 kB / 0.9507 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.8188, allocations: 13.86 kB / 0.9507 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.8191, allocations: 88.64 kB / 0.9508 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.8191, allocations: 1.562 kB / 0.9508 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.8191, allocations: 7.938 kB / 0.9508 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.8192, allocations: 2.75 kB / 0.9508 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.8193, allocations: 39.23 kB / 0.9508 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.8201, allocations: 437.9 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.8202, allocations: 35.91 kB / 0.9513 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.8203, allocations: 24.58 kB / 0.9513 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.8203, allocations: 0 / 0.9513 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.8203, allocations: 39.97 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.8203, allocations: 0 / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002903/0.8206, allocations: 56.08 kB / 0.9514 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.8207, allocations: 81.36 kB / 0.9515 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.8209, allocations: 159.3 kB / 0.9516 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.8209, allocations: 29.7 kB / 0.9517 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.821, allocations: 117.6 kB / 0.9518 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.821, allocations: 3.906 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.8211, allocations: 21.48 kB / 0.9518 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.8211, allocations: 317.3 kB / 0.9521 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.8212, allocations: 6.891 kB / 0.9521 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.8212, allocations: 26.92 kB / 0.9521 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.8213, allocations: 26.88 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8213, allocations: 4 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001254/0.8214, allocations: 59.41 kB / 0.9522 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.8215, allocations: 5.062 kB / 0.9522 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8215, allocations: 3.938 kB / 0.9522 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.8215, allocations: 5.469 kB / 0.9522 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.44e-05/0.8216, allocations: 9.375 kB / 0.9522 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.8216, allocations: 0.6562 kB / 0.9522 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.8217, allocations: 3.281 kB / 0.9523 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.8217, allocations: 0 / 0.9523 GB, free: 6.102 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 8.054e-05/0.8218, allocations: 113.6 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.8219, allocations: 8.844 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.8219, allocations: 17.98 kB / 0.9524 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8219, allocations: 4.938 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8219, allocations: 1.281 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8219, allocations: 0 / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.8223, allocations: 471.3 kB / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8224, allocations: 0 / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.8224, allocations: 3.062 kB / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8224, allocations: 1.156 kB / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8224, allocations: 0 / 0.9528 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8224, allocations: 5.438 kB / 0.9528 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8225, allocations: 3.984 kB / 0.9529 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.594e-05/0.8226, allocations: 83 kB / 0.9529 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.8226, allocations: 91.56 kB / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8227, allocations: 1.656 kB / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.8227, allocations: 0 / 0.953 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8227, allocations: 5.531 kB / 0.953 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.8227, allocations: 1.719 kB / 0.953 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001076/0.8228, allocations: 129 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8229, allocations: 0 / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003147/0.8232, allocations: 6.344 kB / 0.9532 GB, free: 5.152 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.0001296/0.8233, allocations: 97.28 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.8235, allocations: 21.86 kB / 0.9533 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8235, allocations: 5.312 kB / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.8235, allocations: 3.781 kB / 0.9533 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.8238, allocations: 15.09 kB / 0.9533 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.8243, allocations: 178.4 kB / 0.9535 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.8245, allocations: 0.6949 MB / 0.9541 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.148e-05/0.8245, allocations: 5.312 kB / 0.9541 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.8246, allocations: 11 kB / 0.9542 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of SimCode: time 6.92e-07/0.8246, allocations: 0 / 0.9542 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.004017/0.8286, allocations: 439.6 kB / 0.9546 GB, free: 3.926 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches