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.001184/0.001184, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.653/2.653, allocations: 437 MB / 0.7103 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 67.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7883/0.7896, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002379/0.7921, allocations: 0.8188 MB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.7922, allocations: 43.78 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.7923, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.365e-05/0.7923, allocations: 7.875 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.7924, allocations: 7.875 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.948e-05/0.7925, allocations: 23.97 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.7926, allocations: 55.86 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.7928, allocations: 47.95 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.266e-05/0.7929, allocations: 27.8 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.793, allocations: 31.84 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.793, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.632e-05/0.793, allocations: 8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.793, allocations: 11.94 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.7931, allocations: 39.8 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.7932, allocations: 73.67 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7932, allocations: 0 / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7932, allocations: 3.938 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7933, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.7637 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.0004979/0.7938, allocations: 383.1 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.7938, allocations: 8.031 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.7938, allocations: 12.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.7941, allocations: 188.2 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.7941, allocations: 12.38 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.7941, allocations: 4.375 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.7943, allocations: 99.84 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.7943, allocations: 192 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.7943, allocations: 3.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.7944, allocations: 3.984 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.7945, allocations: 39.92 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.7951, allocations: 436.6 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.7952, allocations: 37.41 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.7952, allocations: 21.72 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.7952, allocations: 7.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.7953, allocations: 34.55 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7953, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.7955, allocations: 57.48 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.7955, allocations: 77.11 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.7957, allocations: 164.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.7957, allocations: 33.64 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.7958, allocations: 107.9 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.7958, allocations: 7.906 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.7959, allocations: 13.72 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.796, allocations: 326.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.796, allocations: 12 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.7961, allocations: 17.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.7961, allocations: 29.72 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7961, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.378e-05/0.7962, allocations: 57.55 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7963, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7963, allocations: 3.938 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7963, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.7964, allocations: 8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.7964, allocations: 64 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.7964, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.7964, allocations: 4 kB / 1.021 GB, free: 14.88 MB / 0.7794 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 9.238e-05/0.7965, allocations: 117.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.7966, allocations: 15.75 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.7966, allocations: 15.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7966, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7966, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.7966, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.797, allocations: 474.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.797, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.7971, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7971, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.7971, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7971, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7971, allocations: 7.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.753e-05/0.7972, allocations: 81.89 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7973, allocations: 92.95 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.7973, allocations: 3.984 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.7973, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.7974, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.7974, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.342e-05/0.7975, allocations: 125.1 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7975, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001782/0.7976, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 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.0001626/0.7978, allocations: 99.25 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.687e-05/0.7979, allocations: 12 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7979, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.397e-05/0.7979, allocations: 11.94 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.7981, allocations: 14.52 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.7984, allocations: 154.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.7987, allocations: 0.6963 MB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.7987, allocations: 8.422 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.7988, allocations: 11.44 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7988, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002418/0.8012, allocations: 456.5 kB / 1.023 GB, free: 12.32 MB / 0.7794 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 -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/jenkins/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