Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.00158, 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.001796/0.001796, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6814, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002123/0.6836, allocations: 0.8174 MB / 1.017 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.6851, allocations: 1.152 MB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.6851, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.6852, allocations: 7.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.6853, allocations: 7.922 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.6857, allocations: 115.8 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.6859, allocations: 99.81 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.686, allocations: 27.94 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.103e-05/0.6861, allocations: 39.86 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.974e-05/0.6861, allocations: 43.83 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.6862, allocations: 8 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.049e-05/0.6862, allocations: 19.98 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.6863, allocations: 11.97 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.6864, allocations: 39.84 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.6865, allocations: 103.7 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.6865, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6865, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.6866, allocations: 0 / 1.019 GB, free: 320 kB / 0.7637 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.0007597/0.6873, allocations: 415 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6874, allocations: 8.031 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.6874, allocations: 16.83 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.6876, allocations: 180.2 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.6876, allocations: 4.375 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.6877, allocations: 8.375 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.6879, allocations: 66.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6879, allocations: 192 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.6879, allocations: 7.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.688, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.6882, allocations: 39.95 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.6888, allocations: 332.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.689, allocations: 66.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.6892, allocations: 32.95 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.6892, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.6894, allocations: 91.2 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 4.057e-06/0.6894, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004951/0.6899, allocations: 141.7 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.69, allocations: 51.41 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.6901, allocations: 129.7 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.6902, allocations: 25.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.6902, allocations: 88.14 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.6903, allocations: 23.73 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.6904, allocations: 41.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6905, allocations: 318.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.6907, allocations: 51.91 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.691, allocations: 87.88 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.6913, allocations: 145.8 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6913, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005128/0.6918, allocations: 215.1 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.6919, allocations: 41.69 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6919, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.6919, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.692, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6921, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.6923, allocations: 36.14 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.6923, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 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 0.0001331/0.6925, allocations: 132.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.6925, allocations: 7.906 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.6925, allocations: 12.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6925, allocations: 3.938 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6925, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6925, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.693, allocations: 378.4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.693, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.6931, allocations: 7.938 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6931, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.6931, allocations: 3.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6931, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6931, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.6935, allocations: 207.8 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.6935, allocations: 92.94 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.6936, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.6936, allocations: 7.984 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.6937, allocations: 11.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.6937, allocations: 7.938 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.6938, allocations: 95.27 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6938, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002647/0.6941, allocations: 20 kB / 1.023 GB, free: 12.31 MB / 0.7794 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.0002175/0.6943, allocations: 111.2 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.6947, allocations: 179.2 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6947, allocations: 256 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.6949, allocations: 44.03 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.6952, allocations: 17.23 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.6956, allocations: 172.4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.696, allocations: 0.6926 MB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.696, allocations: 11.84 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.696, allocations: 11.44 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.696, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of Templates: time 0.005307/0.7014, allocations: 1.327 MB / 1.025 GB, free: 9.691 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches