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.004207/0.004207, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001123/0.001123, allocations: 202.8 kB / 16.68 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.456/2.456, allocations: 437.1 MB / 0.7106 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.89 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3142, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001769/0.316, allocations: 0.6581 MB / 1.167 GB, free: 6.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3176, allocations: 1.179 MB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.3176, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.3177, allocations: 3.938 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.3178, allocations: 11.88 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.3182, allocations: 151 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.3184, allocations: 127.8 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.3185, allocations: 15.98 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.3186, allocations: 47.89 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3188, allocations: 63.78 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3188, allocations: 12 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.3189, allocations: 23.94 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3189, allocations: 15.97 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.319, allocations: 43.84 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3192, allocations: 119.9 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.3192, allocations: 3.984 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3192, allocations: 4 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.3192, allocations: 0 / 1.169 GB, free: 4.719 MB / 0.92 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.0006348/0.3199, allocations: 397 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3199, allocations: 12.02 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.32, allocations: 34.75 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.32, allocations: 12.89 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3202, allocations: 168.3 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3202, allocations: 4.375 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3202, allocations: 12.36 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3204, allocations: 78.16 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3205, allocations: 7.922 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3205, allocations: 0 / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3205, allocations: 0 / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3206, allocations: 39.97 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.3212, allocations: 316.8 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.3214, allocations: 78.42 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3215, allocations: 40.91 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3215, allocations: 3.984 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.3218, allocations: 99.34 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3218, allocations: 0 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005344/0.3224, allocations: 185.5 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3224, allocations: 55.41 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.3225, allocations: 121.8 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.3226, allocations: 29.7 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.3226, allocations: 88.09 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.3227, allocations: 23.83 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.3227, allocations: 41.69 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3229, allocations: 318.8 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3231, allocations: 55.97 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3232, allocations: 70.53 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.3235, allocations: 116.2 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3235, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004174/0.3239, allocations: 203.2 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.324, allocations: 37.7 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.324, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.324, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3241, allocations: 15.98 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3241, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3243, allocations: 27.97 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.3244, allocations: 16.05 kB / 1.171 GB, free: 1.785 MB / 0.92 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.0001236/0.3245, allocations: 132.3 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.3245, allocations: 7.953 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.3245, allocations: 4.375 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3245, allocations: 0.8438 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3245, allocations: 0 / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3246, allocations: 3.984 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.3251, allocations: 410.3 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.3251, allocations: 4 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.3252, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3252, allocations: 4 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3252, allocations: 3.984 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3252, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3252, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/0.3256, allocations: 243.3 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3257, allocations: 85.06 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3257, allocations: 4 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.3258, allocations: 11.92 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3258, allocations: 7.984 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3259, allocations: 11.94 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.3259, allocations: 91.27 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3259, allocations: 3.938 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002532/0.3262, allocations: 31.94 kB / 1.172 GB, free: 0.6406 MB / 0.92 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.0007621/0.327, allocations: 0.7715 MB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3274, allocations: 187.2 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3274, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3275, allocations: 51.97 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.3278, allocations: 16.05 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.3299, allocations: 1.657 MB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3302, allocations: 0.6924 MB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3302, allocations: 4.672 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.3303, allocations: 23.42 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3303, allocations: 0 / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05435/0.3846, allocations: 2.721 MB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.173/9.558, allocations: 17.81 kB / 1.178 GB, free: 10.47 MB / 0.9356 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=400 --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