Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 180.6 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000853/0.0008531, allocations: 89.28 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.263e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2341, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8301/1.064, allocations: 131.6 MB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.064, allocations: 58.66 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002713/1.067, allocations: 1.158 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/1.067, allocations: 4 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.067, allocations: 0 / 1.015 GB, free: 5.074 MB / 0.6355 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.0003394/1.068, allocations: 373.9 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/1.068, allocations: 12.03 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/1.068, allocations: 7.906 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/1.068, allocations: 178.9 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.068, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.068, allocations: 4 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.349e-05/1.068, allocations: 35.42 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.068, allocations: 84.66 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.068, allocations: 0 / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.068, allocations: 8 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.068, allocations: 0 / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/1.069, allocations: 423.8 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.186e-05/1.069, allocations: 37.34 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/1.069, allocations: 17.66 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/1.069, allocations: 0 / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/1.069, allocations: 33.3 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/1.069, allocations: 4.75 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/1.069, allocations: 49.3 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.069, allocations: 81.09 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/1.069, allocations: 122.2 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.069, allocations: 25.7 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/1.069, allocations: 115.7 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/1.069, allocations: 3.906 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/1.069, allocations: 0 / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.07, allocations: 322.8 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/1.07, allocations: 7.75 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/1.07, allocations: 28.11 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/1.07, allocations: 4 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.07, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.121e-05/1.07, allocations: 56.91 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.07, allocations: 16.05 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.07, allocations: 0.875 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/1.07, allocations: 0 / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/1.07, allocations: 4 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.07, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/1.07, allocations: 7.844 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/1.07, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/1.07, allocations: 101 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/1.07, allocations: 7.953 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.07, allocations: 27.78 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.07, allocations: 7.703 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.07, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/1.07, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/1.071, allocations: 454.5 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.071, allocations: 0 / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.656e-05/1.071, allocations: 7.938 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.071, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/1.071, allocations: 4.062 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.071, allocations: 3.984 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.071, allocations: 0 / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/1.071, allocations: 91.19 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/1.071, allocations: 81.11 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/1.071, allocations: 32 / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/1.071, allocations: 8.094 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/1.071, allocations: 3.984 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/1.071, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.253e-05/1.071, allocations: 111.9 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/1.071, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000176/1.071, allocations: 8 kB / 1.018 GB, free: 1.977 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/1.071, allocations: 99.19 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.905e-05/1.071, allocations: 19.94 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.071, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/1.071, allocations: 7.984 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001115/1.071, allocations: 11.83 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/1.072, allocations: 104.7 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.072, allocations: 0.7082 MB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.529e-05/1.072, allocations: 416 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/1.072, allocations: 11.44 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.072, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of Templates: time 0.002176/1.074, allocations: 317.6 kB / 1.019 GB, free: 0.6602 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches