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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007289/0.007289, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001376/0.001377, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.42 kB / 0.9504 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 140.4 MB / 1.087 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001887/0.2958, allocations: 0.6631 MB / 1.088 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.2975, allocations: 1.173 MB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/0.2976, allocations: 3.938 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.638e-05/0.2976, allocations: 7.875 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.2977, allocations: 15.84 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.2984, allocations: 144.4 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.2987, allocations: 135.9 kB / 1.09 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2988, allocations: 7.984 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.299, allocations: 47.8 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.2992, allocations: 59.84 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.2992, allocations: 12 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2993, allocations: 23.98 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.2994, allocations: 19.92 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.459e-05/0.2995, allocations: 43.83 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.2997, allocations: 119.7 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2997, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2997, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.2997, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 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.0007411/0.3005, allocations: 404.7 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3005, allocations: 12.03 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.3006, allocations: 34.75 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.3006, allocations: 8.844 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3008, allocations: 172.3 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3008, allocations: 4.375 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.3009, allocations: 8.375 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3011, allocations: 74.14 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3011, allocations: 3.938 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3012, allocations: 0 / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3012, allocations: 4 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.3013, allocations: 39.97 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3018, allocations: 320.8 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3021, allocations: 70.48 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3022, allocations: 40.84 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.3022, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.3025, allocations: 103.3 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 4.268e-06/0.3025, allocations: 3.938 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005287/0.3031, allocations: 185.4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3031, allocations: 55.41 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.343e-05/0.3032, allocations: 113.8 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3032, allocations: 29.7 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.3033, allocations: 92.12 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3033, allocations: 23.7 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.3034, allocations: 37.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3036, allocations: 322.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3037, allocations: 51.97 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.3039, allocations: 74.55 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3041, allocations: 116.2 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3041, allocations: 3.938 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004274/0.3046, allocations: 199.2 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.3046, allocations: 35.27 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3046, allocations: 11.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3047, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3048, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3048, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.305, allocations: 35.95 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.305, allocations: 4 kB / 1.092 GB, free: 12.69 MB / 0.8575 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.0001173/0.3051, allocations: 126.8 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3052, allocations: 16.73 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.3052, allocations: 8.375 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3052, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3052, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3052, allocations: 4 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.3057, allocations: 410.3 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3058, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.3058, allocations: 7.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3058, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3058, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3058, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3058, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.3062, allocations: 247.3 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3063, allocations: 85.09 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3063, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.3064, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3064, allocations: 11.98 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3065, allocations: 11.94 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.718e-05/0.3065, allocations: 87.27 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3065, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002691/0.3068, allocations: 28 kB / 1.093 GB, free: 11.56 MB / 0.8575 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.0006653/0.3075, allocations: 0.7869 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.3079, allocations: 183.3 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3079, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.308, allocations: 47.98 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3083, allocations: 23.97 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3103, allocations: 1.655 MB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3106, allocations: 0.6846 MB / 1.097 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.3106, allocations: 8.656 kB / 1.097 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.3107, allocations: 19.44 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.3107, allocations: 4 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.3323, allocations: 2.788 MB / 1.1 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/8.005, allocations: 3.984 kB / 1.1 GB, free: 5.332 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > 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