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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00165/0.00165, allocations: 104.7 kB / 16.35 MB, free: 5.828 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.001953/0.001953, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 60.44 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3306, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002296/0.3329, allocations: 0.8308 MB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.3331, allocations: 43.78 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.3331, allocations: 0 / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.3332, allocations: 11.86 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.733e-05/0.3333, allocations: 7.875 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.854e-05/0.3333, allocations: 15.98 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3335, allocations: 67.75 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3336, allocations: 51.94 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.3337, allocations: 23.88 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.3338, allocations: 31.78 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3338, allocations: 8 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-06/0.3338, allocations: 4 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.3338, allocations: 19.88 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3339, allocations: 35.73 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.334, allocations: 75.7 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.334, allocations: 0 / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.482e-06/0.334, allocations: 0 / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.334, allocations: 0 / 1.02 GB, free: 8.637 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.0004272/0.3345, allocations: 375.2 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3345, allocations: 8.625 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.3345, allocations: 12.84 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3347, allocations: 196.1 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3348, allocations: 16.36 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3348, allocations: 8.375 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.335, allocations: 98.3 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.335, allocations: 192 / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.335, allocations: 7.938 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.335, allocations: 0 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.3351, allocations: 35.98 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.3358, allocations: 440.5 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.3359, allocations: 41.12 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.3359, allocations: 21.84 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.336, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.336, allocations: 38.59 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.336, allocations: 0 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002322/0.3363, allocations: 57.48 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.3363, allocations: 85.09 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.3365, allocations: 153.1 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3366, allocations: 25.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.3367, allocations: 108.2 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.3367, allocations: 7.906 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3367, allocations: 21.7 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3369, allocations: 318.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.3369, allocations: 7.984 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.337, allocations: 17.72 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.3371, allocations: 33.59 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3371, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.3372, allocations: 57.59 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3372, allocations: 8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3372, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3373, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.3374, allocations: 11.94 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3374, allocations: 3.938 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.3374, allocations: 7.844 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.3374, allocations: 4 kB / 1.022 GB, free: 6.191 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 0.0001166/0.3376, allocations: 117.9 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/0.3377, allocations: 7.906 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3377, allocations: 15.8 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3377, allocations: 4 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3377, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3377, allocations: 0 / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.3383, allocations: 470.8 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3383, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.3384, allocations: 4 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3384, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3384, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3384, allocations: 3.984 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.3384, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.3385, allocations: 85.84 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.3386, allocations: 85 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3387, allocations: 8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.3387, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.3387, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3387, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001273/0.3389, allocations: 125.5 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3389, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003537/0.3392, allocations: 8 kB / 1.023 GB, free: 5.16 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.0001463/0.3394, allocations: 103.3 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.3395, allocations: 19.92 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3395, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.766e-05/0.3396, allocations: 4 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.3398, allocations: 15.88 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.3402, allocations: 163.1 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3406, allocations: 0.6963 MB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.763e-05/0.3407, allocations: 4.438 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.3407, allocations: 11.44 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of SimCode: time 2.685e-06/0.3407, allocations: 0 / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of Templates: time 0.003827/0.3445, allocations: 461.4 kB / 1.024 GB, free: 3.629 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 -s cvode -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