Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.001191/0.001191, 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.001431/0.001431, allocations: 193.1 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.347/2.347, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7039, allocations: 140.4 MB / 0.9497 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001927/0.7059, allocations: 0.7417 MB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.7072, allocations: 1.147 MB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.7073, allocations: 5.281 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.7074, allocations: 3.938 kB / 0.9516 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.247e-05/0.7075, allocations: 9.203 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.708, allocations: 134.9 kB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.7082, allocations: 117.7 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.7083, allocations: 18.83 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.7084, allocations: 56.55 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.7085, allocations: 34.14 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.7085, allocations: 10.34 kB / 0.9519 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.097e-05/0.7086, allocations: 28.36 kB / 0.952 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.7086, allocations: 10.78 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.7087, allocations: 47.55 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.7088, allocations: 108.3 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.7088, allocations: 1.156 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7088, allocations: 4 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.7088, allocations: 0 / 0.9521 GB, free: 7.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004963/0.7093, allocations: 413.8 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7094, allocations: 8.938 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.7094, allocations: 31.94 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.7095, allocations: 15.38 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.702e-05/0.7095, allocations: 175.5 kB / 0.9528 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7096, allocations: 7.75 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.7096, allocations: 6.906 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.7098, allocations: 71.91 kB / 0.9528 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7098, allocations: 3.938 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7098, allocations: 1.219 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7098, allocations: 0 / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.71, allocations: 43.36 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003924/0.7104, allocations: 327.8 kB / 0.9532 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.7106, allocations: 62.3 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.7107, allocations: 37.36 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.7107, allocations: 1.562 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.7109, allocations: 88.2 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.7109, allocations: 3.938 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004089/0.7114, allocations: 142.3 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.7114, allocations: 54.47 kB / 0.9536 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.7115, allocations: 122.8 kB / 0.9537 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.7115, allocations: 32.48 kB / 0.9537 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.7116, allocations: 93.42 kB / 0.9538 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.7116, allocations: 22.61 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.7117, allocations: 41.23 kB / 0.9539 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.229e-05/0.7117, allocations: 317.7 kB / 0.9542 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.7119, allocations: 55.33 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.712, allocations: 87.31 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.7123, allocations: 148.8 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7123, allocations: 1.062 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004044/0.7127, allocations: 201 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.7127, allocations: 41.25 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7128, allocations: 1.406 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7128, allocations: 1.219 kB / 0.9547 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.7129, allocations: 20.98 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7129, allocations: 1.188 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.7131, allocations: 32.5 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.7131, allocations: 10.58 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 7.76e-05/0.7132, allocations: 121.1 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.7132, allocations: 6.781 kB / 0.9549 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.7133, allocations: 17.33 kB / 0.9549 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7133, allocations: 4.922 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7133, allocations: 1.469 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.7133, allocations: 0 / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.7137, allocations: 371.8 kB / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7137, allocations: 0 / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.7137, allocations: 9.234 kB / 0.9552 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7137, allocations: 5.312 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.7138, allocations: 8.062 kB / 0.9553 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7138, allocations: 1.125 kB / 0.9553 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7138, allocations: 3.984 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.714, allocations: 213.7 kB / 0.9555 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.7141, allocations: 86.17 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.7141, allocations: 5.375 kB / 0.9556 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.7142, allocations: 11.98 kB / 0.9556 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.7142, allocations: 6.938 kB / 0.9556 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.7142, allocations: 6.25 kB / 0.9556 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.7143, allocations: 100.3 kB / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7143, allocations: 0 / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002631/0.7145, allocations: 28.34 kB / 0.9557 GB, free: 3.844 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004388/0.715, allocations: 0.7498 MB / 0.9564 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.7153, allocations: 182.2 kB / 0.9566 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7153, allocations: 256 / 0.9566 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.7155, allocations: 45.41 kB / 0.9567 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.7158, allocations: 16.84 kB / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.7174, allocations: 1.676 MB / 0.9583 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.7175, allocations: 0.6884 MB / 0.959 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.7175, allocations: 7.531 kB / 0.959 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.7176, allocations: 24.36 kB / 0.959 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7176, allocations: 0 / 0.959 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.7357, allocations: 2.512 MB / 0.9615 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.283, allocations: 2.516 kB / 0.9615 GB, free: 15.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches