Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001536/0.001536, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 4.535 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.702/2.702, allocations: 437 MB / 0.7107 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.91 kB / 0.8694 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.612, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001954/0.6139, allocations: 0.7259 MB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.6148, allocations: 0.804 MB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.6149, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.6149, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.615, allocations: 3.938 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.6151, allocations: 15.97 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.327e-05/0.6151, allocations: 15.98 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.24e-05/0.6152, allocations: 8 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.6153, allocations: 15.88 kB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.6153, allocations: 7.984 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.6153, allocations: 4 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.6154, allocations: 4 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.6154, allocations: 7.938 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.6154, allocations: 7.984 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.36e-05/0.6155, allocations: 15.97 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6155, allocations: 3.984 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6155, allocations: 0 / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.6155, allocations: 0 / 1.019 GB, free: 1.055 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004005/0.6159, allocations: 341.4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.6159, allocations: 12.03 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.616, allocations: 0.9375 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.6161, allocations: 168.3 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.6161, allocations: 384 / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.6161, allocations: 4.375 kB / 1.02 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6163, allocations: 50.22 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.6163, allocations: 192 / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6163, allocations: 7.938 kB / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6163, allocations: 0 / 1.02 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.6165, allocations: 47.83 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.6167, allocations: 241 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.6169, allocations: 38.5 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.617, allocations: 28.89 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.617, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.617, allocations: 34.5 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.617, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000322/0.6174, allocations: 81.64 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.6174, allocations: 51.41 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.6175, allocations: 102 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.6175, allocations: 25.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.6175, allocations: 84.14 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.6176, allocations: 11.83 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.6176, allocations: 17.72 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.6177, allocations: 310.8 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.6178, allocations: 15.98 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.6178, allocations: 15.98 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.618, allocations: 48.75 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.618, allocations: 0 / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.6182, allocations: 69.59 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6182, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6182, allocations: 4.094 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.6182, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.6183, allocations: 12 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6183, allocations: 3.984 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.6184, allocations: 4 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.6184, allocations: 3.938 kB / 1.021 GB, free: 15.03 MB / 0.7794 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 (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 prepare postOptimizeDAE: time 6.539e-05/0.6185, allocations: 114.3 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.6185, allocations: 3.906 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.6187, allocations: 80.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6187, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.6187, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.6189, allocations: 157.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6189, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.549e-05/0.6189, allocations: 7.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.619, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.619, allocations: 4.031 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.619, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.619, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.6192, allocations: 167.4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.6192, allocations: 77.11 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.6192, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.6193, allocations: 12.02 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.6194, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.6194, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.6194, allocations: 79.45 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6194, allocations: 4 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002051/0.6196, allocations: 4 kB / 1.022 GB, free: 14.21 MB / 0.7794 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 (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.0001262/0.6198, allocations: 99.39 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.62, allocations: 39.95 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.62, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.62, allocations: 19.92 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.6203, allocations: 11.94 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.6206, allocations: 139.3 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.6208, allocations: 0.6768 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.6208, allocations: 7.438 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6208, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.001619/0.6225, allocations: 0.5506 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches