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.001725/0.001725, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001973/0.001973, allocations: 196 kB / 16.14 MB, free: 6.711 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.534/1.534, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.861/2.861, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.807, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.00241/0.8095, allocations: 0.7261 MB / 1.017 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.8106, allocations: 0.7962 MB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.719e-05/0.8107, allocations: 0 / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.8107, allocations: 3.938 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-05/0.8108, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.811, allocations: 15.97 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.811, allocations: 19.94 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.8112, allocations: 15.92 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.8112, allocations: 0 / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.8113, allocations: 15.92 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.8113, allocations: 4 kB / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.8113, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.8113, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.8114, allocations: 11.94 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.506e-05/0.8115, allocations: 23.94 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8115, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8115, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.8115, allocations: 0 / 1.018 GB, free: 1.289 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.0005907/0.8121, allocations: 341.6 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.8121, allocations: 8.031 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.8122, allocations: 8.875 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.8124, allocations: 164.3 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.8124, allocations: 4.375 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.8124, allocations: 4.375 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.8126, allocations: 54.11 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8126, allocations: 8.188 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.8127, allocations: 3.938 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8127, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.8129, allocations: 31.95 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.8133, allocations: 241 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.8134, allocations: 50.44 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.8136, allocations: 24.89 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.8136, allocations: 0 / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.8136, allocations: 30.56 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.8136, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003943/0.814, allocations: 85.64 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.8141, allocations: 51.41 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.8142, allocations: 101.8 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.8143, allocations: 29.7 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.8143, allocations: 84.08 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.8143, allocations: 11.83 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.8144, allocations: 13.72 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.8146, allocations: 319 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.8147, allocations: 11.98 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.8147, allocations: 23.97 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.8149, allocations: 32.83 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8149, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.8151, allocations: 69.66 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8152, allocations: 4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8152, allocations: 4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8152, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.8153, allocations: 7.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.8153, allocations: 3.984 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.8154, allocations: 7.906 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.8154, allocations: 0 / 1.02 GB, free: 15.26 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 0.0001279/0.8155, allocations: 121.8 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.8155, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.8158, allocations: 72.77 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8158, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8158, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8158, allocations: 3.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.816, allocations: 157.6 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8161, allocations: 7.969 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.8161, allocations: 11.98 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.8161, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.8161, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8162, allocations: 3.938 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8162, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.8164, allocations: 163.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.8165, allocations: 77.11 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.8165, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.382e-05/0.8166, allocations: 3.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.8166, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.8166, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.8167, allocations: 83.27 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8167, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002091/0.8169, allocations: 4 kB / 1.021 GB, free: 14.45 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.0001595/0.8171, allocations: 99.81 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.8173, allocations: 43.89 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8173, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.8174, allocations: 19.98 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.8178, allocations: 9.625 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.8181, allocations: 111.4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.8185, allocations: 0.677 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.8185, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.8185, allocations: 11.44 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.8185, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.002846/0.8214, allocations: 354.9 kB / 1.022 GB, free: 13.07 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=400 -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/jenkins/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