Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 111.6 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 71.89 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2824, allocations: 151.6 MB / 1.176 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00202/0.2845, allocations: 0.7596 MB / 1.177 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2861, allocations: 1.144 MB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.2862, allocations: 4 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2862, allocations: 3.938 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.391e-05/0.2863, allocations: 15.8 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.2869, allocations: 135.2 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.2871, allocations: 131.7 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.2872, allocations: 12 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.2873, allocations: 47.91 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2874, allocations: 43.86 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.2874, allocations: 12 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.2875, allocations: 27.92 kB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.2875, allocations: 8 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.2876, allocations: 43.84 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2878, allocations: 123.5 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2878, allocations: 0 / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2879, allocations: 0 / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2879, allocations: 4 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006659/0.2885, allocations: 412.9 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2886, allocations: 8.031 kB / 1.179 GB, free: 2.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2886, allocations: 12.89 kB / 1.179 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.2888, allocations: 172.3 kB / 1.179 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2888, allocations: 4.375 kB / 1.179 GB, free: 2.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2889, allocations: 8.375 kB / 1.179 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.2891, allocations: 62.22 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2891, allocations: 4.188 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.2891, allocations: 3.938 kB / 1.179 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2891, allocations: 4 kB / 1.179 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.2893, allocations: 43.89 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.2899, allocations: 332.7 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2901, allocations: 66.48 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2902, allocations: 32.97 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.2902, allocations: 0 / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.2904, allocations: 83.36 kB / 1.18 GB, free: 1.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 7.234e-06/0.2905, allocations: 4 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004575/0.2909, allocations: 141.5 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.291, allocations: 59.33 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2911, allocations: 121.8 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.2911, allocations: 33.7 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.2912, allocations: 88.14 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2912, allocations: 23.91 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.2913, allocations: 41.7 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2915, allocations: 322.8 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.2917, allocations: 47.97 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2919, allocations: 88.19 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2922, allocations: 145.8 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2922, allocations: 0 / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004617/0.2927, allocations: 215.1 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.2927, allocations: 37.69 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2927, allocations: 0 / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2927, allocations: 4 kB / 1.181 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.16e-05/0.2928, allocations: 11.98 kB / 1.181 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2929, allocations: 0 / 1.181 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.2931, allocations: 39.89 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2931, allocations: 12.12 kB / 1.181 GB, free: 440 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000108/0.2932, allocations: 124.1 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2932, allocations: 7.953 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.2933, allocations: 16.36 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2933, allocations: 0 / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2933, allocations: 4.062 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.2933, allocations: 0 / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.2938, allocations: 382.4 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2939, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.2939, allocations: 11.94 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2939, allocations: 0 / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2939, allocations: 3.984 kB / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.294, allocations: 0 / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.294, allocations: 0 / 1.181 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.2943, allocations: 227.7 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.2944, allocations: 81.06 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.2944, allocations: 4 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.381e-05/0.2945, allocations: 7.984 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.2945, allocations: 0 / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2945, allocations: 11.94 kB / 1.182 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.2946, allocations: 91.27 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2946, allocations: 4 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002538/0.2949, allocations: 23.94 kB / 1.182 GB, free: 15.35 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001656/0.295, allocations: 111.2 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.2955, allocations: 179.3 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2955, allocations: 0 / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2956, allocations: 44.16 kB / 1.182 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2959, allocations: 11.94 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.2963, allocations: 180.3 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.2966, allocations: 0.6885 MB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.2967, allocations: 15.44 kB / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2967, allocations: 0 / 1.183 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.003127/0.2998, allocations: 1.26 MB / 1.184 GB, free: 12.8 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.341538697015494]