Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001401/0.001401, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 78.23 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7181, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001981/0.7201, allocations: 0.7614 MB / 1.084 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.7211, allocations: 0.848 MB / 1.085 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.7211, allocations: 1.406 kB / 1.085 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.7212, allocations: 5.531 kB / 1.085 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.379e-05/0.7213, allocations: 10.06 kB / 1.085 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001484/0.7214, allocations: 26.53 kB / 1.085 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.7215, allocations: 64.62 kB / 1.085 GB, free: 480 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.7217, allocations: 27.95 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.7217, allocations: 36.31 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.7218, allocations: 39.89 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.7218, allocations: 7.25 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.813e-05/0.7219, allocations: 6.312 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.7219, allocations: 19.58 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.7219, allocations: 29.31 kB / 1.085 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.7221, allocations: 73.92 kB / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7221, allocations: 0 / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7221, allocations: 0 / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.7221, allocations: 0 / 1.085 GB, free: 360 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004823/0.7226, allocations: 376.3 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.7226, allocations: 9.594 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.7227, allocations: 8.594 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.7228, allocations: 183.9 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.7228, allocations: 10.31 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.7229, allocations: 8.406 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7231, allocations: 85.84 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7231, allocations: 192 / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.7231, allocations: 5.031 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7232, allocations: 2.234 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.7234, allocations: 66.03 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.7239, allocations: 325.3 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.7242, allocations: 87.36 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.7243, allocations: 38.16 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.7243, allocations: 4.562 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.7244, allocations: 31.62 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.7244, allocations: 1.219 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0004812/0.7249, allocations: 137.3 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.7249, allocations: 51.41 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.725, allocations: 120.4 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.7251, allocations: 33.7 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.7251, allocations: 93.28 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.7252, allocations: 19.39 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.7252, allocations: 20.88 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.7254, allocations: 319.1 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.7256, allocations: 34.12 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.7257, allocations: 31.61 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.7259, allocations: 74.34 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7259, allocations: 0 / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002847/0.7262, allocations: 102 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7262, allocations: 5.547 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7262, allocations: 448 / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7263, allocations: 0.75 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.7264, allocations: 25.33 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7264, allocations: 0 / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.7265, allocations: 11.78 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.7265, allocations: 1.766 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001009/0.7266, allocations: 125.3 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.7267, allocations: 7.391 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.933e-05/0.7267, allocations: 10.41 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7267, allocations: 2.391 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7267, allocations: 0 / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.7267, allocations: 4.938 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.727, allocations: 195 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.727, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7271, allocations: 19.97 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.7271, allocations: 5.469 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7271, allocations: 2.922 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7271, allocations: 3.938 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7271, allocations: 0 / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.7275, allocations: 206.2 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.7275, allocations: 80.31 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.7276, allocations: 2.266 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.7277, allocations: 9.219 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.7277, allocations: 16.39 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.7278, allocations: 3.891 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.7278, allocations: 92.84 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.184e-06/0.7278, allocations: 4 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002183/0.7281, allocations: 13.19 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001347/0.7282, allocations: 103.1 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.7285, allocations: 75.94 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7285, allocations: 0 / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.7287, allocations: 42.88 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.729, allocations: 11.8 kB / 1.088 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.7295, allocations: 199.3 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.7299, allocations: 0.6885 MB / 1.089 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.7299, allocations: 21.69 kB / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.7299, allocations: 0 / 1.089 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.003002/0.7329, allocations: 1.055 MB / 1.09 GB, free: 12.64 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches