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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.91 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8519/0.8538, allocations: 160.7 MB / 1.213 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.002112/0.8559, allocations: 0.6653 MB / 1.214 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.8577, allocations: 1.186 MB / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.8577, allocations: 0.75 kB / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.8578, allocations: 0 / 1.215 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.676e-05/0.8578, allocations: 9.875 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.8584, allocations: 146.8 kB / 1.215 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.8586, allocations: 130 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.8587, allocations: 6.969 kB / 1.215 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.8588, allocations: 62.53 kB / 1.215 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.8589, allocations: 49.86 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.8589, allocations: 12.44 kB / 1.215 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.243e-05/0.859, allocations: 30.08 kB / 1.215 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.859, allocations: 18.19 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.661e-05/0.8591, allocations: 39.34 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.8593, allocations: 124.8 kB / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.8593, allocations: 0 / 1.215 GB, free: 2 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8593, allocations: 3.938 kB / 1.215 GB, free: 1.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8593, allocations: 0 / 1.215 GB, free: 1.996 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.0006883/0.86, allocations: 404.8 kB / 1.216 GB, free: 1.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.86, allocations: 10.16 kB / 1.216 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.8601, allocations: 36.78 kB / 1.216 GB, free: 1.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.8601, allocations: 9.234 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.8603, allocations: 171.5 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.8603, allocations: 7.484 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.8603, allocations: 7.25 kB / 1.216 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.8605, allocations: 72.73 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8605, allocations: 7.938 kB / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8606, allocations: 1.062 kB / 1.216 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.8606, allocations: 5.094 kB / 1.216 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.8607, allocations: 40.59 kB / 1.216 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.8613, allocations: 320 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.8615, allocations: 71.39 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.8616, allocations: 38.7 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.8616, allocations: 1.062 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.8619, allocations: 101.1 kB / 1.217 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.8619, allocations: 5.156 kB / 1.217 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0005162/0.8624, allocations: 175.5 kB / 1.217 GB, free: 0.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.8625, allocations: 60.34 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.8626, allocations: 122.9 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.8626, allocations: 27.55 kB / 1.217 GB, free: 416 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.8627, allocations: 90.84 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.8627, allocations: 15.25 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.8629, allocations: 41.12 kB / 1.217 GB, free: 280 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.863, allocations: 320.8 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.8632, allocations: 50.62 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.8633, allocations: 75.06 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.8636, allocations: 125 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8636, allocations: 1.25 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004084/0.864, allocations: 203.6 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.8641, allocations: 32.23 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8641, allocations: 1.094 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8641, allocations: 2.156 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.8642, allocations: 16.7 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.8642, allocations: 0.875 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.8644, allocations: 33.88 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.8644, allocations: 10.45 kB / 1.218 GB, free: 15.59 MB / 0.9356 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.0001142/0.8645, allocations: 125.9 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.8645, allocations: 7.234 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.8646, allocations: 9.625 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8646, allocations: 1.281 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.8646, allocations: 0 / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.8646, allocations: 13.28 kB / 1.218 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.8651, allocations: 401.8 kB / 1.218 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8652, allocations: 0 / 1.218 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.8652, allocations: 7.312 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8652, allocations: 1.031 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.8652, allocations: 5.203 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8652, allocations: 1 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8652, allocations: 0 / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.8656, allocations: 247.1 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.8656, allocations: 82.38 kB / 1.219 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.8657, allocations: 9.531 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.8657, allocations: 6.547 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.8658, allocations: 15.39 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.8658, allocations: 8.125 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.743e-05/0.8659, allocations: 91.17 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8659, allocations: 0 / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002504/0.8661, allocations: 22.56 kB / 1.219 GB, free: 14.65 MB / 0.9356 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.0008996/0.867, allocations: 0.7795 MB / 1.22 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.8674, allocations: 165.9 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8674, allocations: 0 / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.8675, allocations: 45.94 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8678, allocations: 22.89 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.8701, allocations: 1.66 MB / 1.222 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.8705, allocations: 0.6887 MB / 1.222 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.8705, allocations: 12.52 kB / 1.222 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.8706, allocations: 22.17 kB / 1.222 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of SimCode: time 7.72e-07/0.8706, allocations: 1.344 kB / 1.222 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.8997, allocations: 2.736 MB / 1.225 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.912, allocations: 12.8 kB / 1.225 GB, free: 10.15 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.5993811218068]