Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009265/0.009266, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.564/1.564, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 483.2 MB / 0.7564 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0006044/0.0006046, allocations: 12.41 kB / 0.9276 GB, free: 29.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.391, allocations: 164.5 MB / 1.088 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001419/0.3925, allocations: 411.6 kB / 1.089 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3937, allocations: 0.8313 MB / 1.089 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.3938, allocations: 0 / 1.089 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.3938, allocations: 3.938 kB / 1.089 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.871e-05/0.3939, allocations: 4 kB / 1.089 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3941, allocations: 19.97 kB / 1.089 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.3942, allocations: 35.86 kB / 1.09 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3943, allocations: 4 kB / 1.09 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.194e-05/0.3943, allocations: 7.984 kB / 1.09 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.3944, allocations: 19.92 kB / 1.09 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3944, allocations: 0 / 1.09 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3945, allocations: 0 / 1.09 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.3945, allocations: 11.98 kB / 1.09 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.3945, allocations: 33.64 kB / 1.09 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.128e-05/0.3946, allocations: 35.88 kB / 1.09 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3946, allocations: 0 / 1.09 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.997e-06/0.3947, allocations: 0 / 1.09 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3947, allocations: 3.938 kB / 1.09 GB, free: 8.887 MB / 0.8419 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.0006362/0.3953, allocations: 363.7 kB / 1.09 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3954, allocations: 8.031 kB / 1.09 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.3954, allocations: 4.875 kB / 1.09 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3956, allocations: 176.3 kB / 1.09 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3956, allocations: 4.375 kB / 1.09 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3956, allocations: 384 / 1.09 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3959, allocations: 74.22 kB / 1.09 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3959, allocations: 192 / 1.09 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.396, allocations: 3.938 kB / 1.09 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.396, allocations: 4 kB / 1.09 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3963, allocations: 71.94 kB / 1.09 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.3968, allocations: 276.8 kB / 1.091 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3971, allocations: 74.47 kB / 1.091 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.3972, allocations: 44.89 kB / 1.091 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.3972, allocations: 3.984 kB / 1.091 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.3973, allocations: 34.56 kB / 1.091 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3973, allocations: 0 / 1.091 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0005334/0.3978, allocations: 141.6 kB / 1.091 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3979, allocations: 55.41 kB / 1.091 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.917e-05/0.398, allocations: 101.8 kB / 1.091 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.398, allocations: 29.7 kB / 1.091 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3981, allocations: 84.14 kB / 1.091 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3981, allocations: 7.891 kB / 1.091 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3982, allocations: 9.719 kB / 1.091 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3984, allocations: 326.9 kB / 1.091 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3985, allocations: 35.97 kB / 1.091 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.3987, allocations: 49.69 kB / 1.092 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.3989, allocations: 76.89 kB / 1.092 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3989, allocations: 0 / 1.092 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003042/0.3993, allocations: 117.5 kB / 1.092 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/0.3993, allocations: 89 kB / 1.092 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3993, allocations: 0 / 1.092 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3994, allocations: 0 / 1.092 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3995, allocations: 32 kB / 1.092 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3995, allocations: 0 / 1.092 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.3996, allocations: 19.89 kB / 1.092 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.3996, allocations: 0 / 1.092 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.3996, allocations: 4 kB / 1.092 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001831/0.3998, allocations: 55.84 kB / 1.092 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3998, allocations: 3.984 kB / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-06/0.3998, allocations: 0 / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.3999, allocations: 8 kB / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-06/0.3999, allocations: 256 / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.4, allocations: 19.95 kB / 1.092 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4, allocations: 11.94 kB / 1.092 GB, free: 6.273 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 (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.0001528/0.4002, allocations: 185.1 kB / 1.092 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.4002, allocations: 7.938 kB / 1.092 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.4002, allocations: 11.45 kB / 1.092 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4002, allocations: 0 / 1.092 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4003, allocations: 0 / 1.092 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4003, allocations: 0 / 1.092 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4005, allocations: 165.7 kB / 1.092 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.4005, allocations: 0 / 1.092 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.4006, allocations: 23.92 kB / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4006, allocations: 0 / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4006, allocations: 0 / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4006, allocations: 0 / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4006, allocations: 4 kB / 1.092 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.401, allocations: 207.4 kB / 1.093 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.4011, allocations: 84.95 kB / 1.093 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4011, allocations: 0 / 1.093 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.4012, allocations: 15.98 kB / 1.093 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.4012, allocations: 3.984 kB / 1.093 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4013, allocations: 0 / 1.093 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.108e-05/0.4013, allocations: 91.27 kB / 1.093 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4013, allocations: 0 / 1.093 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002544/0.4016, allocations: 8.031 kB / 1.093 GB, free: 5.387 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 (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.0001851/0.4018, allocations: 99.78 kB / 1.093 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.4022, allocations: 107.8 kB / 1.093 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4022, allocations: 0 / 1.093 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.4024, allocations: 40.09 kB / 1.093 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4027, allocations: 13.7 kB / 1.093 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.4031, allocations: 140.8 kB / 1.093 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4035, allocations: 0.6809 MB / 1.094 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.4035, allocations: 4 kB / 1.094 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.4036, allocations: 7.438 kB / 1.094 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of SimCode: time 4.41e-07/0.4036, allocations: 0 / 1.094 GB, free: 4.242 MB / 0.8419 GB Notification: Performance of Templates: time 0.003022/0.4066, allocations: 0.5158 MB / 1.094 GB, free: 3.73 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches