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.001604/0.001604, allocations: 102.2 kB / 16.27 MB, free: 6 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.00169/0.00169, allocations: 191 kB / 17.2 MB, free: 5.609 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.427/1.427, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.595/2.595, allocations: 437.1 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 68.14 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2945, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002185/0.2967, allocations: 0.8141 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001169/0.2968, allocations: 43.78 kB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.2969, allocations: 4 kB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.753e-05/0.2969, allocations: 7.875 kB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.297, allocations: 11.86 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.12e-05/0.2971, allocations: 19.98 kB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2972, allocations: 59.77 kB / 1.019 GB, free: 9.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.2974, allocations: 55.94 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2974, allocations: 19.88 kB / 1.019 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.2975, allocations: 31.78 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2975, allocations: 8 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.2976, allocations: 4 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.2976, allocations: 15.94 kB / 1.019 GB, free: 9.566 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.2976, allocations: 39.73 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2978, allocations: 68.05 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2978, allocations: 0 / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2978, allocations: 0 / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2978, allocations: 0 / 1.019 GB, free: 9.461 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.0005068/0.2983, allocations: 383.2 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2983, allocations: 8.922 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.2984, allocations: 8.844 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2986, allocations: 196.1 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2987, allocations: 12.31 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2987, allocations: 8.359 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2989, allocations: 95.86 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2989, allocations: 192 / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2989, allocations: 11.88 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2989, allocations: 0 / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.299, allocations: 39.92 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.2996, allocations: 432.6 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.2997, allocations: 45.19 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.2997, allocations: 21.83 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2997, allocations: 4 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2998, allocations: 30.56 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2998, allocations: 4 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.2999, allocations: 57.48 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.3, allocations: 77.11 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3002, allocations: 160.7 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3002, allocations: 25.7 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.3003, allocations: 104 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.3003, allocations: 3.906 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3003, allocations: 25.95 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3005, allocations: 318.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.3005, allocations: 11.92 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.3005, allocations: 17.72 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.3006, allocations: 29.72 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3006, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.3007, allocations: 61.53 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3007, allocations: 8 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3007, allocations: 3.938 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3008, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.792e-05/0.3008, allocations: 4 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3008, allocations: 7.984 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.3009, allocations: 7.844 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3009, allocations: 4 kB / 1.021 GB, free: 7.012 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 8.348e-05/0.301, allocations: 109.9 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.301, allocations: 11.91 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.3011, allocations: 19.8 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3011, allocations: 0 / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3011, allocations: 4 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3011, allocations: 0 / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.3015, allocations: 474.7 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3015, allocations: 3.938 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.3016, allocations: 12 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3016, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3016, allocations: 3.984 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.767e-05/0.3017, allocations: 77.84 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3018, allocations: 93.03 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3018, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.961e-05/0.3018, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.3018, allocations: 96 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.3018, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.3019, allocations: 121.1 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.295e-06/0.3019, allocations: 0 / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001865/0.3021, allocations: 11.94 kB / 1.022 GB, free: 5.973 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.0001325/0.3023, allocations: 107.2 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.3024, allocations: 15.98 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3024, allocations: 0 / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.3024, allocations: 11.94 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3026, allocations: 18.22 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3029, allocations: 180.8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3032, allocations: 0.6967 MB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.3033, allocations: 11.44 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3033, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of Templates: time 0.002379/0.3057, allocations: 0.8575 MB / 1.024 GB, free: 4.008 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=400 -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