Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 116.1 kB / 16.37 MB, free: 6.012 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.001161/0.001161, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 67.3 kB / 0.814 GB, free: 32.58 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 140.4 MB / 0.9512 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002054/0.2939, allocations: 0.6511 MB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2954, allocations: 1.181 MB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.2955, allocations: 7.938 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.145e-05/0.2955, allocations: 3.938 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.2956, allocations: 3.938 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.2961, allocations: 142.5 kB / 0.9531 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2963, allocations: 135.8 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.2964, allocations: 11.98 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.688e-05/0.2965, allocations: 55.88 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.2966, allocations: 51.88 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.2967, allocations: 12 kB / 0.9533 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.2967, allocations: 23.98 kB / 0.9534 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.2968, allocations: 19.91 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.2969, allocations: 47.89 kB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.297, allocations: 115.7 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.297, allocations: 0 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.608e-06/0.2971, allocations: 0 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2971, allocations: 3.938 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000565/0.2976, allocations: 401 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2977, allocations: 8.031 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.2977, allocations: 8.844 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2979, allocations: 180.2 kB / 0.9541 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2979, allocations: 8.375 kB / 0.9541 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2979, allocations: 12.38 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.2981, allocations: 70.2 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2981, allocations: 192 / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.2982, allocations: 7.938 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2982, allocations: 0 / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2983, allocations: 43.91 kB / 0.9543 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.2988, allocations: 324.8 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.299, allocations: 70.48 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2991, allocations: 36.91 kB / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.2991, allocations: 0 / 0.9547 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.2994, allocations: 103.3 kB / 0.9548 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2994, allocations: 4 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004918/0.2999, allocations: 185.5 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3, allocations: 51.41 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.3001, allocations: 118.2 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.3001, allocations: 29.7 kB / 0.9551 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3002, allocations: 88.14 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.3002, allocations: 24.11 kB / 0.9552 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.3003, allocations: 37.7 kB / 0.9553 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3004, allocations: 318.8 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3006, allocations: 47.97 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3008, allocations: 74.48 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.301, allocations: 136.1 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.301, allocations: 0 / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003742/0.3014, allocations: 195.2 kB / 0.956 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.3014, allocations: 37.69 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3014, allocations: 0 / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3015, allocations: 0 / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3016, allocations: 15.88 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3016, allocations: 4 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.3018, allocations: 39.92 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.3018, allocations: 8 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,triggeredTrapezoid1.T,triggeredTrapezoid1.rate,triggeredTrapezoid1.endValue,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4) * 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.0001009/0.3019, allocations: 122 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.3019, allocations: 7.984 kB / 0.9562 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.302, allocations: 12.38 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.302, allocations: 0 / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.302, allocations: 0 / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.302, allocations: 0 / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.3025, allocations: 406.3 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3025, allocations: 0 / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.3025, allocations: 11.92 kB / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3025, allocations: 0 / 0.9567 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3026, allocations: 8 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3026, allocations: 4 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3026, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.3029, allocations: 243.4 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.303, allocations: 92.94 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.303, allocations: 0 / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3031, allocations: 4.281 kB / 0.957 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3031, allocations: 7.984 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3031, allocations: 8 kB / 0.957 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.3032, allocations: 99.14 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3032, allocations: 0 / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002455/0.3035, allocations: 24 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001569/0.3036, allocations: 112.3 kB / 0.9572 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.304, allocations: 179.3 kB / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.304, allocations: 0 / 0.9574 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3041, allocations: 55.92 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3044, allocations: 14.02 kB / 0.9575 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.3048, allocations: 174.9 kB / 0.9576 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3051, allocations: 0.6922 MB / 0.9583 GB, free: 248 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.3052, allocations: 8.609 kB / 0.9583 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.3052, allocations: 15.38 kB / 0.9583 GB, free: 224 kB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3052, allocations: 0 / 0.9583 GB, free: 224 kB / 0.7325 GB Notification: Performance of Templates: time 0.004438/0.3097, allocations: 1.664 MB / 0.96 GB, free: 14.57 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches