Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_10_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_10_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.001369/0.001369, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001298/0.001299, allocations: 189.8 kB / 17.2 MB, free: 5.602 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.1 MB / 0.7111 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.45 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001915/0.3076, allocations: 0.6601 MB / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3091, allocations: 1.184 MB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.3092, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.3093, allocations: 3.938 kB / 1.02 GB, free: 8.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.3093, allocations: 3.938 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.3099, allocations: 151.7 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3101, allocations: 131.7 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3102, allocations: 11.98 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3103, allocations: 55.88 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3104, allocations: 47.88 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.3105, allocations: 12 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.3106, allocations: 27.98 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.3106, allocations: 19.92 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.3107, allocations: 43.89 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3109, allocations: 119.7 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3109, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.795 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.0008016/0.3117, allocations: 401.3 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.3118, allocations: 12.03 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.3118, allocations: 8.844 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.312, allocations: 172.3 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.3121, allocations: 12.38 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3121, allocations: 4.375 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.3124, allocations: 70.2 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3124, allocations: 192 / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.3124, allocations: 11.92 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3124, allocations: 0 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3126, allocations: 35.97 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.3131, allocations: 328.7 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.3134, allocations: 74.48 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3135, allocations: 32.91 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3135, allocations: 0 / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.3138, allocations: 119.2 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.3138, allocations: 0 / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005806/0.3144, allocations: 177.5 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.3145, allocations: 55.41 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3146, allocations: 113.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.3147, allocations: 29.64 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.3148, allocations: 92.12 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3148, allocations: 23.66 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.3149, allocations: 45.69 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3151, allocations: 310.8 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.3153, allocations: 51.97 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3154, allocations: 70.53 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.3157, allocations: 132.1 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3157, allocations: 4 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004353/0.3162, allocations: 183.3 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.3162, allocations: 37.69 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3162, allocations: 4 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3163, allocations: 4 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3164, allocations: 11.98 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.3164, allocations: 3.938 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3166, allocations: 43.88 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.3166, allocations: 8.828 kB / 1.023 GB, free: 5.285 MB / 0.795 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.0001416/0.3168, allocations: 123.9 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.3168, allocations: 7.906 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.3169, allocations: 8.375 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3169, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3169, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3169, allocations: 11.98 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.3175, allocations: 406.3 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3175, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.3175, allocations: 4 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3175, allocations: 3.984 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3176, allocations: 7.984 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3176, allocations: 0 / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.3176, allocations: 3.938 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.318, allocations: 239.4 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.318, allocations: 88.95 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.3181, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.3182, allocations: 11.92 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.3182, allocations: 7.984 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3183, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.3183, allocations: 99.2 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3183, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002558/0.3186, allocations: 24 kB / 1.024 GB, free: 4.156 MB / 0.795 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.0001954/0.3188, allocations: 103.2 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.3192, allocations: 179.8 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3192, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.3194, allocations: 64.03 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.3197, allocations: 18.61 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.3201, allocations: 200.4 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3205, allocations: 0.6855 MB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.3205, allocations: 19.44 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.134e-06/0.3205, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of Templates: time 0.003323/0.3238, allocations: 1.385 MB / 1.027 GB, free: 1.457 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches