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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.001052/0.001052, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001008/0.001008, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 436.5 MB / 0.7104 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 16 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.89/0.8904, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0009933/0.8914, allocations: 394.3 kB / 1.021 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.8924, allocations: 0.7885 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.8925, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.8925, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.8926, allocations: 3.984 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.8927, allocations: 11.98 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.971e-05/0.8928, allocations: 8 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.8929, allocations: 11.98 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.304e-05/0.893, allocations: 11.92 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.893, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.893, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.893, allocations: 4 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.8931, allocations: 11.92 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.8931, allocations: 25.7 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.227e-05/0.8932, allocations: 11.97 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.8932, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8932, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.8932, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 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.000447/0.8936, allocations: 345.3 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8937, allocations: 11.98 kB / 1.022 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.8937, allocations: 7.938 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.8938, allocations: 159.1 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8939, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.8939, allocations: 4 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.8941, allocations: 61.62 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.8941, allocations: 0 / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.8941, allocations: 3.938 kB / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8941, allocations: 0 / 1.023 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.8943, allocations: 51.89 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.8947, allocations: 244.9 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.8949, allocations: 42.55 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.8949, allocations: 12.03 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.895, allocations: 38.5 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.895, allocations: 0 / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004652/0.8955, allocations: 101.6 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.8956, allocations: 51.41 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.8957, allocations: 101.9 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.8957, allocations: 25.7 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.8958, allocations: 80.14 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.8958, allocations: 11.83 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8958, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.896, allocations: 322.9 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.8961, allocations: 15.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.8962, allocations: 23.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.816e-05/0.8963, allocations: 27.97 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.8963, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.8965, allocations: 73.62 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.8966, allocations: 8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8966, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.8966, allocations: 4.031 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.8967, allocations: 15.98 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8967, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.8968, allocations: 11.98 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.8968, allocations: 0 / 1.024 GB, free: 13.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.8969, allocations: 105.8 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.8969, allocations: 11.95 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.8972, allocations: 84.66 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8972, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8972, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.8972, allocations: 0 / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.8974, allocations: 161.7 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.8974, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.8975, allocations: 11.98 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.8975, allocations: 3.953 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8975, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.8975, allocations: 0 / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8975, allocations: 4 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.8978, allocations: 179.4 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.92e-05/0.8979, allocations: 77.11 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.8979, allocations: 3.953 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.898, allocations: 15.92 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.898, allocations: 4.031 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.898, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.8981, allocations: 79.28 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8981, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002133/0.8983, allocations: 8 kB / 1.025 GB, free: 12.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.8985, allocations: 99.23 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.8987, allocations: 47.97 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8987, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.8988, allocations: 19.98 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.8991, allocations: 20.05 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.8994, allocations: 92.72 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.8997, allocations: 0.6848 MB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.8997, allocations: 0 / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.8997, allocations: 15.42 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.8998, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.002506/0.9023, allocations: 353.5 kB / 1.026 GB, free: 11.59 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches