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.01139/0.01139, allocations: 101.1 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.001901/0.001901, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.445/2.445, allocations: 222.9 MB / 240.4 MB, free: 4.168 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 3.802/3.802, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001858, allocations: 68.33 kB / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4754, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002719/0.4782, allocations: 0.6652 MB / 1.088 GB, free: 1.398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.4804, allocations: 1.173 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.4805, allocations: 0 / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.4806, allocations: 7.875 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.4807, allocations: 11.86 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007751/0.4815, allocations: 143.3 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.4818, allocations: 135.9 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.482, allocations: 4 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.4821, allocations: 55.8 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.4823, allocations: 55.8 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.4824, allocations: 12 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4825, allocations: 35.92 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.4826, allocations: 19.91 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4827, allocations: 39.91 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.483, allocations: 115.7 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.483, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.483, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.483, allocations: 0 / 1.09 GB, free: 15.59 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.001038/0.4841, allocations: 404.7 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.03e-05/0.4842, allocations: 8.031 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.4842, allocations: 38.75 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.4843, allocations: 8.844 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.4846, allocations: 176.2 kB / 1.091 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.4846, allocations: 4.375 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.4847, allocations: 8.375 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.485, allocations: 70.2 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.485, allocations: 3.938 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.4851, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.4851, allocations: 0 / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.4853, allocations: 43.97 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.4861, allocations: 320.8 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.4864, allocations: 74.42 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.4866, allocations: 36.89 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.4866, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004214/0.487, allocations: 107.3 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.4871, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0007978/0.4879, allocations: 181.8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.488, allocations: 55.44 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.4881, allocations: 125.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.4882, allocations: 29.7 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.4883, allocations: 88.14 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.4883, allocations: 19.72 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4885, allocations: 41.69 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.4887, allocations: 322.8 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.4889, allocations: 47.97 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.4892, allocations: 66.55 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.4895, allocations: 132.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4895, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005485/0.4901, allocations: 195.2 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.4901, allocations: 33.7 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4901, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.4902, allocations: 4 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4903, allocations: 19.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4904, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.4906, allocations: 35.97 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.4907, allocations: 7.984 kB / 1.092 GB, free: 12.66 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.0001451/0.4908, allocations: 129.7 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.4909, allocations: 7.906 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.4909, allocations: 12.36 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4909, allocations: 4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4909, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4909, allocations: 0 / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.4917, allocations: 402.4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4918, allocations: 0.5625 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.4918, allocations: 7.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4918, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4919, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4919, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4919, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.4925, allocations: 247.2 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.4925, allocations: 81.11 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4926, allocations: 3.984 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4928, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.4928, allocations: 3.984 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4929, allocations: 11.94 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.493, allocations: 99.2 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.493, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004745/0.4934, allocations: 24 kB / 1.093 GB, free: 11.53 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.001087/0.4945, allocations: 0.7804 MB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.4952, allocations: 183.8 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4952, allocations: 0 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.4954, allocations: 52.11 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.496, allocations: 24.05 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.4994, allocations: 1.66 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.4999, allocations: 0.6846 MB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.573e-05/0.5, allocations: 8.656 kB / 1.097 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.5, allocations: 15.44 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of SimCode: time 1.583e-06/0.5, allocations: 0 / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.5308, allocations: 2.733 MB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.14, allocations: 6.453 kB / 1.099 GB, free: 5.359 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