Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_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_latest_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.001337/0.001337, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001348/0.001349, allocations: 187 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.455/2.455, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7895, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001828/0.7914, allocations: 0.665 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009/0.7923, allocations: 0.8039 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.7923, allocations: 4 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.7924, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.7924, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.7926, allocations: 7.984 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.287e-05/0.7927, allocations: 27.92 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.7928, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.7928, allocations: 8 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.7929, allocations: 19.91 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.7929, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.7929, allocations: 8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.7929, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.793, allocations: 15.92 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.228e-05/0.7931, allocations: 23.84 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7931, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7931, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7931, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 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.0004501/0.7935, allocations: 335.5 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7936, allocations: 12.03 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.7936, allocations: 4.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.7937, allocations: 168.1 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.7938, allocations: 4.375 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.7938, allocations: 4.375 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.794, allocations: 46.23 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.794, allocations: 4.172 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.794, allocations: 7.938 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.794, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.7942, allocations: 43.89 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.7945, allocations: 241 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.7946, allocations: 46.48 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.7947, allocations: 16.91 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.7947, allocations: 4 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.7948, allocations: 34.56 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7948, allocations: 0 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.7951, allocations: 85.48 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.7952, allocations: 55.41 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.065e-05/0.7953, allocations: 102 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.7953, allocations: 33.64 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.7953, allocations: 80.14 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7954, allocations: 7.906 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.7954, allocations: 13.72 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.7955, allocations: 310.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.7956, allocations: 23.97 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.7957, allocations: 15.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.7958, allocations: 40.77 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7958, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001923/0.796, allocations: 65.59 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.7961, allocations: 9.719 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7961, allocations: 0 / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.7961, allocations: 4.094 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.7962, allocations: 15.98 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7962, allocations: 0 / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.7962, allocations: 4 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.7962, allocations: 3.984 kB / 1.212 GB, free: 9.969 MB / 0.9356 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.494e-05/0.7963, allocations: 109.8 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.7963, allocations: 4 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.7966, allocations: 76.72 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.7966, allocations: 4 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7966, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.7968, allocations: 165.6 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7968, allocations: 0 / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.7968, allocations: 11.94 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7968, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.7968, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7969, allocations: 4.031 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7969, allocations: 3.984 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.7971, allocations: 167.3 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.7972, allocations: 85.09 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.7972, allocations: 0 / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.7972, allocations: 4.031 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.7973, allocations: 7.984 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.7973, allocations: 0 / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.7973, allocations: 83.41 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7973, allocations: 0 / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002081/0.7976, allocations: 8 kB / 1.212 GB, free: 9.148 MB / 0.9356 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.0001336/0.7977, allocations: 97.08 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.7979, allocations: 43.95 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7979, allocations: 0 / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.798, allocations: 19.92 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.7983, allocations: 7.938 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.7986, allocations: 131.2 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.7988, allocations: 0.6768 MB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.7989, allocations: 15.56 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.7989, allocations: 0 / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.001671/0.8005, allocations: 0.5388 MB / 1.214 GB, free: 7.551 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches