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.0008554/0.0008556, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005395/0.005395, allocations: 169 kB / 16.26 MB, free: 6.66 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.457/2.457, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.000531, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9288, allocations: 142.4 MB / 0.955 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001038/0.9299, allocations: 0.5294 MB / 0.9556 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.93, allocations: 41.72 kB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.9301, allocations: 0.9375 kB / 0.9556 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.9301, allocations: 7.922 kB / 0.9556 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.9302, allocations: 13.09 kB / 0.9556 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.9303, allocations: 19.08 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.9304, allocations: 47.02 kB / 0.9557 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.9306, allocations: 42.88 kB / 0.9557 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.9306, allocations: 26.11 kB / 0.9558 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.9307, allocations: 27.02 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.9307, allocations: 1.375 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.9307, allocations: 2.469 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.9308, allocations: 6.656 kB / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.9308, allocations: 49.77 kB / 0.9558 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.9309, allocations: 70.95 kB / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9309, allocations: 0 / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9309, allocations: 3.938 kB / 0.9559 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.931, allocations: 1.062 kB / 0.9559 GB, free: 7.07 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.0004096/0.9314, allocations: 366.4 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.9314, allocations: 9.156 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.9315, allocations: 13.88 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.9317, allocations: 194.7 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.9318, allocations: 7.031 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.9318, allocations: 5.812 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.932, allocations: 89.73 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.932, allocations: 9.094 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.932, allocations: 5.062 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.932, allocations: 2.062 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.9321, allocations: 35.86 kB / 0.9566 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.9326, allocations: 437.3 kB / 0.957 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.9327, allocations: 45.78 kB / 0.9571 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.9328, allocations: 19.34 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.9328, allocations: 0 / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.9328, allocations: 36.66 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.9328, allocations: 0 / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.933, allocations: 58.41 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.933, allocations: 82.08 kB / 0.9573 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.9332, allocations: 165.8 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.9332, allocations: 25.7 kB / 0.9574 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.9333, allocations: 101 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.9333, allocations: 11.89 kB / 0.9576 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.9333, allocations: 10.88 kB / 0.9576 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.9334, allocations: 325.4 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.9334, allocations: 7.141 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.084e-05/0.9335, allocations: 18.47 kB / 0.9579 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.9335, allocations: 22.94 kB / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9335, allocations: 0 / 0.9579 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.683e-05/0.9336, allocations: 63.72 kB / 0.958 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9336, allocations: 9.406 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9336, allocations: 3.938 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9336, allocations: 1.125 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.9337, allocations: 5.625 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9337, allocations: 1.312 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.9338, allocations: 9.375 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.9338, allocations: 5.25 kB / 0.958 GB, free: 4.914 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 6.866e-05/0.9338, allocations: 113.9 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.9339, allocations: 15.77 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.9339, allocations: 19.12 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.9339, allocations: 0 / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9339, allocations: 1.062 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.9339, allocations: 1.344 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.9343, allocations: 465.9 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.9343, allocations: 0 / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.9344, allocations: 4.062 kB / 0.9586 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9344, allocations: 4.062 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.9344, allocations: 5.391 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.9344, allocations: 1.438 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9344, allocations: 0 / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.729e-05/0.9345, allocations: 82.66 kB / 0.9587 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.9345, allocations: 91.5 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.9346, allocations: 1.219 kB / 0.9588 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.031e-05/0.9346, allocations: 5.219 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.9346, allocations: 5.141 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.9346, allocations: 1 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001056/0.9347, allocations: 123.2 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9348, allocations: 0 / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.935, allocations: 7.125 kB / 0.9589 GB, free: 3.965 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.0001161/0.9352, allocations: 96.59 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.9352, allocations: 31.73 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9353, allocations: 0 / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.9353, allocations: 4.625 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.9354, allocations: 9.594 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.9358, allocations: 180.7 kB / 0.9592 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.9359, allocations: 0.695 MB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.936, allocations: 4.344 kB / 0.9599 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.936, allocations: 12.69 kB / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.936, allocations: 4 kB / 0.9599 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.002718/0.9387, allocations: 422.7 kB / 0.9603 GB, free: 2.738 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