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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00177/0.001769, 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.001762/0.001762, allocations: 198 kB / 16.14 MB, free: 6.719 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 68.08 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7404, allocations: 140.4 MB / 0.9491 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001974/0.7424, allocations: 0.7191 MB / 0.9498 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.7438, allocations: 1.181 MB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.7438, allocations: 0 / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.7439, allocations: 0 / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.7439, allocations: 13.23 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.7444, allocations: 134.5 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.7445, allocations: 111.1 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.7446, allocations: 5.094 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.7447, allocations: 54.12 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.7448, allocations: 45.19 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.7449, allocations: 6.594 kB / 0.9513 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.871e-05/0.7449, allocations: 19.81 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.745, allocations: 15.02 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.396e-05/0.7451, allocations: 41.12 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.7452, allocations: 113.4 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.7452, allocations: 7.922 kB / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7453, allocations: 0 / 0.9515 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.7453, allocations: 1.406 kB / 0.9515 GB, free: 7.32 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.0006133/0.7459, allocations: 398.3 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7459, allocations: 9.969 kB / 0.9518 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.746, allocations: 39.45 kB / 0.9519 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.746, allocations: 9.75 kB / 0.9519 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.605e-05/0.7461, allocations: 170.8 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7462, allocations: 8.25 kB / 0.9521 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.7462, allocations: 10.77 kB / 0.9521 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.7464, allocations: 69.34 kB / 0.9521 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.7464, allocations: 3.938 kB / 0.9521 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.7464, allocations: 5.359 kB / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.7465, allocations: 0 / 0.9522 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.7466, allocations: 40.59 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.747, allocations: 321.4 kB / 0.9525 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.7472, allocations: 73.17 kB / 0.9526 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.7474, allocations: 36.94 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.7474, allocations: 1.312 kB / 0.9526 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.7477, allocations: 108.1 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.7477, allocations: 7.938 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005049/0.7482, allocations: 172.7 kB / 0.9529 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.7483, allocations: 60.75 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.7483, allocations: 114.1 kB / 0.953 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.7484, allocations: 36.06 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.7484, allocations: 87.89 kB / 0.9532 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.7484, allocations: 14.09 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.7485, allocations: 45.53 kB / 0.9532 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.7486, allocations: 320.2 kB / 0.9535 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7487, allocations: 50.25 kB / 0.9536 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.7489, allocations: 71.72 kB / 0.9536 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.7491, allocations: 121.3 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.7491, allocations: 0 / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003922/0.7495, allocations: 198.2 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.7495, allocations: 37.23 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7495, allocations: 1.406 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7496, allocations: 1.75 kB / 0.954 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.7497, allocations: 11.95 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.7497, allocations: 1.188 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.7499, allocations: 42.75 kB / 0.954 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.7499, allocations: 13.23 kB / 0.9541 GB, free: 4.914 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 9.265e-05/0.75, allocations: 125.6 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.7501, allocations: 2.75 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.7501, allocations: 10.03 kB / 0.9542 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7501, allocations: 7.984 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7501, allocations: 1.312 kB / 0.9542 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.7501, allocations: 4 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.7507, allocations: 407 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7507, allocations: 0 / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.7508, allocations: 3.281 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7508, allocations: 1.406 kB / 0.9546 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.7508, allocations: 5.047 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7508, allocations: 0 / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7508, allocations: 2.125 kB / 0.9546 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.7513, allocations: 245.4 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.7513, allocations: 83.14 kB / 0.9549 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.7513, allocations: 5.188 kB / 0.9549 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.7514, allocations: 6.297 kB / 0.9549 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.7515, allocations: 11.55 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.7515, allocations: 7.562 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.7516, allocations: 91.3 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7516, allocations: 4 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002635/0.7518, allocations: 26.72 kB / 0.9551 GB, free: 3.988 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.0005325/0.7524, allocations: 0.7755 MB / 0.9558 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.7527, allocations: 180.8 kB / 0.956 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7527, allocations: 1.156 kB / 0.956 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.7529, allocations: 53.17 kB / 0.956 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.7532, allocations: 18.36 kB / 0.9561 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.7548, allocations: 1.667 MB / 0.9577 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.7549, allocations: 0.693 MB / 0.9584 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.755, allocations: 4.672 kB / 0.9584 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.755, allocations: 18 kB / 0.9584 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.755, allocations: 9 kB / 0.9584 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.7678, allocations: 2.507 MB / 0.9608 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.768, allocations: 221.3 kB / 0.961 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.674, allocations: 3.375 kB / 0.9611 GB, free: 15.38 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