Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001036/0.001036, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.18 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.463/2.463, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 64.16 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3207, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002101/0.3229, allocations: 0.8387 MB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.323, allocations: 39.78 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.3231, allocations: 4 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.3231, allocations: 7.875 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.479e-05/0.3232, allocations: 11.86 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.216e-05/0.3233, allocations: 19.98 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.3234, allocations: 63.75 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3235, allocations: 47.95 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.3236, allocations: 31.8 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.3237, allocations: 27.8 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3237, allocations: 4 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.3237, allocations: 12 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3237, allocations: 15.92 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.3238, allocations: 31.81 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.3239, allocations: 75.69 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3239, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.466e-06/0.3239, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3239, allocations: 3.938 kB / 1.02 GB, free: 8.625 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.0003834/0.3243, allocations: 375.2 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3243, allocations: 8.031 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3244, allocations: 12.78 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3246, allocations: 196.2 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3246, allocations: 4.375 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.3246, allocations: 8.375 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3248, allocations: 91.8 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3248, allocations: 192 / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3248, allocations: 11.94 kB / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3248, allocations: 0 / 1.021 GB, free: 7.832 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/0.3249, allocations: 39.97 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.3254, allocations: 440.5 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/0.3255, allocations: 37.22 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.3255, allocations: 21.75 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.3255, allocations: 8 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3255, allocations: 34.56 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3255, allocations: 0 / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3257, allocations: 57.47 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3258, allocations: 81.11 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.3259, allocations: 157.1 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3259, allocations: 33.7 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.326, allocations: 104 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.326, allocations: 3.906 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.326, allocations: 17.72 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3261, allocations: 318.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.631e-05/0.3262, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.3262, allocations: 17.72 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.3262, allocations: 37.64 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3262, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.748e-05/0.3263, allocations: 53.61 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.3263, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3263, allocations: 7.938 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3264, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.3264, allocations: 7.984 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3264, allocations: 4.062 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.3265, allocations: 11.84 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.3265, allocations: 0 / 1.022 GB, free: 6.195 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.142e-05/0.3266, allocations: 113.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.3266, allocations: 7.906 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.3266, allocations: 15.81 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3266, allocations: 0 / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3266, allocations: 3.984 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3267, allocations: 7.938 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.327, allocations: 470.9 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.327, allocations: 4 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.327, allocations: 3.984 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.327, allocations: 4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3271, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3271, allocations: 3.938 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3271, allocations: 0 / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.3272, allocations: 89.83 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3272, allocations: 85.02 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.3272, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.3273, allocations: 4 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.3273, allocations: 3.984 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3273, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.3274, allocations: 129.1 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3274, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001859/0.3276, allocations: 8 kB / 1.023 GB, free: 5.148 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.0001058/0.3277, allocations: 95.25 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.3278, allocations: 19.94 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3278, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.3278, allocations: 4 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3279, allocations: 16.19 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.3282, allocations: 166.8 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3285, allocations: 0.6889 MB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.3285, allocations: 8.422 kB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.3285, allocations: 11.44 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.3285, allocations: 4 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Templates: time 0.00221/0.3308, allocations: 446 kB / 1.024 GB, free: 3.633 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches