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.001454/0.001454, allocations: 108 kB / 15.6 MB, free: 132 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.001739/0.001739, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.402 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 2.345/2.345, allocations: 390.2 MB / 0.6647 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6138/0.6152, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001531/0.6168, allocations: 0.6525 MB / 0.9504 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.6178, allocations: 1.168 MB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.6178, allocations: 1.312 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.6179, allocations: 3.938 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.6179, allocations: 9.359 kB / 0.9515 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.6183, allocations: 146.4 kB / 0.9517 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.6185, allocations: 137.6 kB / 0.9518 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.6186, allocations: 8.047 kB / 0.9518 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.238e-05/0.6186, allocations: 50.72 kB / 0.9519 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.6187, allocations: 48.48 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.6188, allocations: 11.88 kB / 0.9519 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.6188, allocations: 30.64 kB / 0.9519 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.6189, allocations: 10.3 kB / 0.952 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.6189, allocations: 44.03 kB / 0.952 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.6191, allocations: 122.4 kB / 0.9521 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6191, allocations: 0 / 0.9521 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6191, allocations: 3.938 kB / 0.9521 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6191, allocations: 0 / 0.9521 GB, free: 7.41 MB / 0.7169 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.0004577/0.6195, allocations: 404.3 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.6196, allocations: 9.281 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.6196, allocations: 48.02 kB / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.6197, allocations: 9.156 kB / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.782e-05/0.6197, allocations: 167.8 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.6198, allocations: 3.156 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.6198, allocations: 7.344 kB / 0.9527 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.62, allocations: 76.95 kB / 0.9528 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.62, allocations: 3.938 kB / 0.9528 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.62, allocations: 1.375 kB / 0.9528 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.62, allocations: 0 / 0.9528 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.6202, allocations: 48.31 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.6205, allocations: 316.6 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.6207, allocations: 69.95 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/0.6208, allocations: 37.47 kB / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.928e-06/0.6208, allocations: 0 / 0.9533 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.621, allocations: 109.6 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.621, allocations: 0 / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004494/0.6215, allocations: 187.8 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.6215, allocations: 56.75 kB / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.39e-05/0.6216, allocations: 110.6 kB / 0.9537 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6216, allocations: 32.14 kB / 0.9537 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.6217, allocations: 91.5 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.6217, allocations: 20.3 kB / 0.9538 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.6218, allocations: 40.86 kB / 0.9539 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.644e-05/0.6218, allocations: 325.5 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.6219, allocations: 48.78 kB / 0.9542 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.6221, allocations: 79.89 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.6223, allocations: 121.1 kB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6223, allocations: 5.203 kB / 0.9544 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003454/0.6226, allocations: 190.1 kB / 0.9546 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6227, allocations: 41.09 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6227, allocations: 1.188 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6227, allocations: 1.125 kB / 0.9547 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.6228, allocations: 20.27 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.6228, allocations: 2.5 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.623, allocations: 32.59 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.623, allocations: 9.906 kB / 0.9547 GB, free: 4.992 MB / 0.7169 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 6.454e-05/0.6231, allocations: 126.2 kB / 0.9548 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.6231, allocations: 3.688 kB / 0.9548 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.6231, allocations: 13.78 kB / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6231, allocations: 0 / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6232, allocations: 1.188 kB / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6232, allocations: 0 / 0.9549 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.6235, allocations: 414.9 kB / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6236, allocations: 0 / 0.9553 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.6236, allocations: 7.094 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6236, allocations: 1.156 kB / 0.9553 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.6236, allocations: 5.203 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.6236, allocations: 5.188 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.6236, allocations: 4 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.6239, allocations: 238.8 kB / 0.9555 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.6239, allocations: 82.17 kB / 0.9556 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.624, allocations: 5.312 kB / 0.9556 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.6241, allocations: 11.27 kB / 0.9556 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.6241, allocations: 7.375 kB / 0.9556 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.6241, allocations: 11.36 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.6242, allocations: 86.56 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6242, allocations: 0.7812 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002438/0.6244, allocations: 30.61 kB / 0.9557 GB, free: 4.062 MB / 0.7169 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.0004548/0.6249, allocations: 0.7786 MB / 0.9565 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.6252, allocations: 180.7 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6252, allocations: 1.219 kB / 0.9567 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.6253, allocations: 51.66 kB / 0.9567 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.6256, allocations: 20.11 kB / 0.9567 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.627, allocations: 1.655 MB / 0.9583 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.064e-05/0.6271, allocations: 0.6926 MB / 0.959 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.6271, allocations: 12.78 kB / 0.959 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.222e-05/0.6272, allocations: 14.19 kB / 0.9591 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6272, allocations: 0 / 0.9591 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.7072, allocations: 2.698 MB / 0.9617 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.661, allocations: 1.062 kB / 0.9617 GB, free: 15.56 MB / 0.7325 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