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: "" <> 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.001128/0.001128, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.591/2.591, allocations: 437.1 MB / 0.7104 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.84 kB / 0.8694 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7339, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002104/0.736, allocations: 0.6524 MB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.7377, allocations: 1.183 MB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.7378, allocations: 0 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.7379, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.738, allocations: 11.86 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006029/0.7386, allocations: 147.4 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.7388, allocations: 135.8 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.7389, allocations: 7.984 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.739, allocations: 55.88 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.7391, allocations: 47.88 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.7391, allocations: 8 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.7392, allocations: 31.98 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.7392, allocations: 23.91 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.7393, allocations: 35.91 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.7395, allocations: 119.7 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7395, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7396, allocations: 0 / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.7396, allocations: 4 kB / 1.02 GB, free: 80 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.0007025/0.7403, allocations: 399.2 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7403, allocations: 12.03 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.7404, allocations: 38.69 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.7404, allocations: 12.84 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.7406, allocations: 180.2 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7406, allocations: 4.375 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.7406, allocations: 12.38 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.7409, allocations: 66.2 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7409, allocations: 3.938 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.7409, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.7409, allocations: 0 / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.7411, allocations: 43.91 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.7416, allocations: 320.8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.7419, allocations: 70.48 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.742, allocations: 40.89 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.742, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.7423, allocations: 107.3 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.7423, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005326/0.7428, allocations: 181.5 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7429, allocations: 55.39 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.743, allocations: 109.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.743, allocations: 33.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.7431, allocations: 92.89 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.7431, allocations: 19.66 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.7432, allocations: 37.69 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7433, allocations: 326.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.7434, allocations: 47.97 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.7436, allocations: 70.55 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.7439, allocations: 128.2 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7439, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004039/0.7443, allocations: 191.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.7443, allocations: 39.42 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7443, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7444, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.7445, allocations: 19.98 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.7445, allocations: 11.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.7447, allocations: 39.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.7447, allocations: 8 kB / 1.022 GB, free: 13.13 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 9.661e-05/0.7448, allocations: 122.7 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.7449, allocations: 7.984 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.7449, allocations: 12.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7449, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7449, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7449, allocations: 3.984 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.7454, allocations: 402.3 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.7454, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.7455, allocations: 11.92 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7455, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.7455, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7455, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7455, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.7459, allocations: 239.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.608e-05/0.746, allocations: 89 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.746, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.7461, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.7462, allocations: 7.984 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.7462, allocations: 11.94 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.7462, allocations: 95.48 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7463, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002796/0.7465, allocations: 24 kB / 1.023 GB, free: 12.01 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.0007836/0.7473, allocations: 0.7787 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.7477, allocations: 187.2 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7478, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.7479, allocations: 47.98 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.7482, allocations: 17.3 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.7504, allocations: 1.656 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7508, allocations: 0.6885 MB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.7508, allocations: 8.859 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.7509, allocations: 23.42 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7509, allocations: 3.938 kB / 1.027 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.7704, allocations: 2.689 MB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.729, allocations: 13.75 kB / 1.029 GB, free: 5.848 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