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.001717/0.001717, allocations: 105.5 kB / 16.37 MB, free: 6.48 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.001879/0.001879, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.19 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.438/2.438, allocations: 437.1 MB / 0.7112 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.17 kB / 0.8707 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3078, allocations: 151.6 MB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002122/0.31, allocations: 0.8299 MB / 1.02 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001003/0.3101, allocations: 39.78 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.631e-05/0.3101, allocations: 4 kB / 1.02 GB, free: 9.086 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.3102, allocations: 11.88 kB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.056e-05/0.3103, allocations: 11.92 kB / 1.02 GB, free: 9.062 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.333e-05/0.3103, allocations: 19.92 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3104, allocations: 63.69 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3106, allocations: 51.95 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.3106, allocations: 27.86 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.3107, allocations: 31.8 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3107, allocations: 4 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.3107, allocations: 8 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3108, allocations: 7.984 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.3108, allocations: 35.75 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.3109, allocations: 79.62 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3109, allocations: 4 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.734 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.0003913/0.3113, allocations: 371.2 kB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3114, allocations: 12.92 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3114, allocations: 12.83 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3116, allocations: 192.2 kB / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.3116, allocations: 4.375 kB / 1.021 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3116, allocations: 8.375 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3118, allocations: 94.98 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3118, allocations: 4.188 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3118, allocations: 7.938 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3118, allocations: 4 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.3119, allocations: 39.91 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.3124, allocations: 432.6 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.857e-05/0.3125, allocations: 45.25 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.3125, allocations: 17.78 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3125, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3126, allocations: 34.56 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.3126, allocations: 3.938 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001621/0.3127, allocations: 61.47 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3128, allocations: 77.11 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3129, allocations: 158.2 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.313, allocations: 25.7 kB / 1.022 GB, free: 6.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.313, allocations: 104 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.313, allocations: 11.91 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3131, allocations: 13.72 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3132, allocations: 319.1 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.3132, allocations: 15.94 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.3132, allocations: 17.66 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.3133, allocations: 29.7 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3133, allocations: 0 / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.3134, allocations: 57.64 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3134, allocations: 8.062 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3134, allocations: 3.938 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3134, allocations: 7.984 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.3135, allocations: 7.984 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3135, allocations: 0 / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.3135, allocations: 15.84 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3135, allocations: 0 / 1.022 GB, free: 6.301 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 7.861e-05/0.3136, allocations: 113.8 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.3137, allocations: 7.906 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.3137, allocations: 15.81 kB / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3137, allocations: 0 / 1.022 GB, free: 6.156 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3137, allocations: 3.984 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3137, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.3141, allocations: 470.8 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3141, allocations: 0 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/0.3141, allocations: 7.938 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3141, allocations: 0 / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.3141, allocations: 4.062 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3141, allocations: 8 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3141, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.864e-05/0.3142, allocations: 77.83 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.3143, allocations: 92.95 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3143, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.969e-05/0.3143, allocations: 4.031 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3143, allocations: 7.984 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3143, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.3144, allocations: 121.5 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.403e-06/0.3144, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001881/0.3146, allocations: 11.94 kB / 1.023 GB, free: 5.262 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.0001004/0.3147, allocations: 99.25 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.3148, allocations: 20 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3148, allocations: 0 / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.3149, allocations: 7.938 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.315, allocations: 11.94 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.3153, allocations: 159.6 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3156, allocations: 0.6965 MB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.3156, allocations: 8.422 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.262e-05/0.3156, allocations: 15.38 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3156, allocations: 0 / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of Templates: time 0.002452/0.3181, allocations: 446 kB / 1.024 GB, free: 3.742 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 gbode -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