Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001813/0.001814, allocations: 102.5 kB / 16.27 MB, free: 5.996 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.001882/0.001882, allocations: 189.6 kB / 17.2 MB, free: 5.605 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.1 MB / 0.711 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 73.2 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002265/0.3136, allocations: 0.835 MB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001256/0.3137, allocations: 31.86 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.3138, allocations: 4 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.3139, allocations: 7.875 kB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.3139, allocations: 15.84 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.766e-05/0.314, allocations: 19.98 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3141, allocations: 63.75 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3143, allocations: 47.97 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.3143, allocations: 31.73 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.3144, allocations: 27.86 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.3144, allocations: 4 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.3144, allocations: 8 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.3145, allocations: 19.92 kB / 1.019 GB, free: 9.496 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.3145, allocations: 31.75 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3146, allocations: 72.05 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3146, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.176e-05/0.3147, allocations: 3.984 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.3147, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 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.0004715/0.3151, allocations: 375.2 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3152, allocations: 8.922 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3152, allocations: 8.844 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3154, allocations: 200.1 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3155, allocations: 4.375 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.3155, allocations: 8.375 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3157, allocations: 91.86 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3157, allocations: 4.125 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3157, allocations: 7.922 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3157, allocations: 7.938 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.3158, allocations: 35.98 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.3164, allocations: 440.6 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.3165, allocations: 41.2 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.3165, allocations: 21.78 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.3165, allocations: 4 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3165, allocations: 34.5 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3166, allocations: 0 / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001702/0.3167, allocations: 53.53 kB / 1.02 GB, free: 7.879 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3168, allocations: 81.3 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.317, allocations: 164.9 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.317, allocations: 29.7 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3171, allocations: 99.98 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.3171, allocations: 11.89 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.3171, allocations: 13.72 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3173, allocations: 314.8 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.3173, allocations: 11.98 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.3174, allocations: 17.72 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.3174, allocations: 29.72 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3174, allocations: 3.938 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.698e-05/0.3175, allocations: 53.59 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3175, allocations: 7.938 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3176, allocations: 7.938 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3176, allocations: 0 / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.3176, allocations: 8.062 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3176, allocations: 3.938 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.3177, allocations: 15.84 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.3177, allocations: 0 / 1.021 GB, free: 6.949 MB / 0.795 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 9.313e-05/0.3178, allocations: 120.2 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3178, allocations: 7.906 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.3179, allocations: 15.81 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3179, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3179, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.3179, allocations: 4 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.3183, allocations: 470.8 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3183, allocations: 7.938 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.3184, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3184, allocations: 3.984 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.3184, allocations: 4 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3184, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3184, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.3185, allocations: 81.84 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.3186, allocations: 93 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.3186, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.3186, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.3186, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.3186, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.3187, allocations: 125.3 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3187, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001858/0.3189, allocations: 8 kB / 1.022 GB, free: 5.914 MB / 0.795 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.0001135/0.3191, allocations: 97.5 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.3191, allocations: 23.92 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3191, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.3192, allocations: 8.188 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3193, allocations: 17.89 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.3197, allocations: 180.5 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.32, allocations: 0.6929 MB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.32, allocations: 11.44 kB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.32, allocations: 0 / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of Templates: time 0.002465/0.3225, allocations: 0.8731 MB / 1.024 GB, free: 3.945 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches