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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_10_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.001615/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002088/0.002087, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.367/2.367, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 67.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.617/0.6184, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001528/0.62, allocations: 0.7305 MB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.6212, allocations: 1.179 MB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.6213, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.6213, allocations: 0 / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.429e-05/0.6214, allocations: 11.92 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.6218, allocations: 134 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.6219, allocations: 107.8 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.221e-05/0.622, allocations: 15.97 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.6221, allocations: 47.84 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.6221, allocations: 43.88 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.6222, allocations: 8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.6222, allocations: 23.97 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.6223, allocations: 11.92 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.6223, allocations: 47.83 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.6225, allocations: 111.7 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6225, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6225, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.6225, allocations: 0 / 1.019 GB, free: 344 kB / 0.7637 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.0005545/0.6231, allocations: 401.2 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6231, allocations: 12.03 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.6232, allocations: 34.73 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.6232, allocations: 8.844 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.6233, allocations: 180.3 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6233, allocations: 4.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.6234, allocations: 4.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.6236, allocations: 74.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6236, allocations: 7.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6236, allocations: 3.984 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.6236, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.6238, allocations: 35.97 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.6242, allocations: 324.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.6244, allocations: 70.42 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.6245, allocations: 32.91 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.6245, allocations: 7.938 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.6248, allocations: 107.3 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.6248, allocations: 3.938 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004732/0.6253, allocations: 181.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.6253, allocations: 55.34 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.6254, allocations: 113.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.6254, allocations: 29.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.6255, allocations: 88.12 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.6255, allocations: 27.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.6256, allocations: 41.69 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.6257, allocations: 322.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6258, allocations: 43.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.626, allocations: 74.53 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.6262, allocations: 128.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6262, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003712/0.6266, allocations: 187.3 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.6266, allocations: 33.69 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6266, allocations: 8.781 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.6267, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6268, allocations: 16.05 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6268, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.627, allocations: 39.75 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.627, allocations: 7.984 kB / 1.022 GB, free: 13.39 MB / 0.7794 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.0001089/0.6271, allocations: 129.1 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.6272, allocations: 7.906 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.6272, allocations: 4.375 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6272, allocations: 11.94 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6272, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6272, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.6277, allocations: 402.4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6277, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.6277, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6277, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6278, allocations: 3.984 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6278, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6278, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.6281, allocations: 235.4 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.6282, allocations: 89.02 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.6282, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.6283, allocations: 11.98 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.6284, allocations: 11.92 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.6284, allocations: 11.94 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.6284, allocations: 87.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6284, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002482/0.6287, allocations: 24 kB / 1.023 GB, free: 12.27 MB / 0.7794 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.0006969/0.6294, allocations: 0.7791 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.6298, allocations: 187.3 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6298, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.6299, allocations: 51.91 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.6302, allocations: 19.92 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.6319, allocations: 1.661 MB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.6322, allocations: 0.6848 MB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.6322, allocations: 8.656 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.6323, allocations: 19.44 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6323, allocations: 3.938 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.6434, allocations: 2.495 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.6436, allocations: 217.7 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.193, allocations: 0 / 1.029 GB, free: 6.078 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > 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