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.0008555/0.0008551, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005282/0.005282, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.4/2.4, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003481, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9131, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.000881/0.9141, allocations: 390.2 kB / 0.9556 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.9155, allocations: 1.175 MB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.9156, allocations: 0 / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.9156, allocations: 1.375 kB / 0.9567 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.9157, allocations: 13.28 kB / 0.9567 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.9162, allocations: 118.9 kB / 0.9568 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.9163, allocations: 119.5 kB / 0.9569 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.9164, allocations: 11.55 kB / 0.957 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.9165, allocations: 51.08 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.9166, allocations: 44.03 kB / 0.957 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.9166, allocations: 6.344 kB / 0.9571 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.9167, allocations: 25.38 kB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.9167, allocations: 10.33 kB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.9168, allocations: 66.27 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.917, allocations: 109.5 kB / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.917, allocations: 0 / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.917, allocations: 0 / 0.9573 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.917, allocations: 1.906 kB / 0.9573 GB, free: 6.09 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.0005485/0.9176, allocations: 390.4 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9176, allocations: 8.406 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.9176, allocations: 39.92 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.9177, allocations: 5.844 kB / 0.9577 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.9178, allocations: 175.8 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.9178, allocations: 3.438 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.9179, allocations: 6.594 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.9181, allocations: 79.3 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9181, allocations: 7.875 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.9181, allocations: 1.531 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9181, allocations: 0 / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.9183, allocations: 48.52 kB / 0.958 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.9187, allocations: 313.3 kB / 0.9583 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.919, allocations: 84.19 kB / 0.9584 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.9191, allocations: 37.22 kB / 0.9584 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.9191, allocations: 1.812 kB / 0.9584 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.9193, allocations: 113.7 kB / 0.9585 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.9193, allocations: 5.75 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005113/0.9198, allocations: 172.4 kB / 0.9587 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.9199, allocations: 60.72 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.92, allocations: 114.1 kB / 0.9589 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.92, allocations: 32.45 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.9201, allocations: 94.88 kB / 0.959 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.9201, allocations: 14.55 kB / 0.959 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.9201, allocations: 24.58 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.9202, allocations: 320.2 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.9203, allocations: 52.22 kB / 0.9594 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.9205, allocations: 79.16 kB / 0.9594 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.9207, allocations: 127.9 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9207, allocations: 1 kB / 0.9596 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003838/0.9211, allocations: 194 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.9212, allocations: 41.56 kB / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.9212, allocations: 0 / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9212, allocations: 1.375 kB / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9213, allocations: 17.92 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.9213, allocations: 1.906 kB / 0.9598 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.9215, allocations: 53.88 kB / 0.9599 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.9216, allocations: 9.609 kB / 0.9599 GB, free: 3.688 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 8.918e-05/0.9217, allocations: 120.1 kB / 0.96 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.9217, allocations: 7.281 kB / 0.96 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.9217, allocations: 9.469 kB / 0.96 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.9217, allocations: 1.219 kB / 0.96 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9217, allocations: 5.031 kB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.9218, allocations: 7.984 kB / 0.96 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.9222, allocations: 402 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9222, allocations: 1.469 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.9223, allocations: 3.719 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9223, allocations: 1.031 kB / 0.9604 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.9223, allocations: 4.984 kB / 0.9604 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9223, allocations: 4.969 kB / 0.9604 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9223, allocations: 0 / 0.9604 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.9227, allocations: 250.4 kB / 0.9607 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.9227, allocations: 86.39 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.9227, allocations: 1.375 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.9228, allocations: 8.109 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.9229, allocations: 14.67 kB / 0.9608 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.9229, allocations: 8.062 kB / 0.9608 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.9229, allocations: 95.64 kB / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9229, allocations: 0 / 0.9609 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002576/0.9232, allocations: 26 kB / 0.9609 GB, free: 2.762 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.0005749/0.9238, allocations: 0.7803 MB / 0.9616 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000371/0.9242, allocations: 181.5 kB / 0.9618 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9242, allocations: 0 / 0.9618 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.9243, allocations: 58.78 kB / 0.9619 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.9246, allocations: 26.56 kB / 0.9619 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.9264, allocations: 1.672 MB / 0.9635 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.9266, allocations: 0.688 MB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.9267, allocations: 5.203 kB / 0.9642 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.9267, allocations: 23.64 kB / 0.9642 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.9267, allocations: 7.938 kB / 0.9642 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.9401, allocations: 2.43 MB / 0.9666 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.9403, allocations: 224.8 kB / 0.9668 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.762, allocations: 0 / 0.9668 GB, free: 14.25 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