Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001474/0.001474, allocations: 103.5 kB / 16.36 MB, free: 5.879 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.0017/0.0017, allocations: 195.5 kB / 17.3 MB, free: 5.52 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 72.17 kB / 0.8773 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3035, allocations: 153 MB / 1.027 GB, free: 1.996 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002287/0.3059, allocations: 0.7581 MB / 1.027 GB, free: 1.246 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3074, allocations: 1.148 MB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3074, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.3075, allocations: 7.922 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.3076, allocations: 15.86 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.3081, allocations: 127.2 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.3084, allocations: 127.8 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.3085, allocations: 15.97 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.3086, allocations: 43.91 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.909e-05/0.3087, allocations: 47.81 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.3087, allocations: 12 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.3088, allocations: 31.92 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.3088, allocations: 11.98 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.3089, allocations: 43.86 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.3091, allocations: 111.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3091, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3091, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.3092, allocations: 0 / 1.029 GB, free: 15.5 MB / 0.8106 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.0005913/0.3097, allocations: 412.9 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3098, allocations: 16.03 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.3099, allocations: 8.875 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.31, allocations: 172.3 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.31, allocations: 4.375 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.31, allocations: 4.375 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3103, allocations: 70.16 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3103, allocations: 4.125 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3103, allocations: 3.938 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3103, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.3105, allocations: 47.95 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.311, allocations: 332.6 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.3112, allocations: 62.48 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3114, allocations: 40.95 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.3114, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.3116, allocations: 83.36 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3116, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004224/0.312, allocations: 145.5 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3121, allocations: 51.41 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.3122, allocations: 125.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3122, allocations: 29.7 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.3123, allocations: 92.2 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3123, allocations: 15.81 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.3124, allocations: 41.69 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3125, allocations: 318.8 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3126, allocations: 51.95 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3129, allocations: 84.25 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.3131, allocations: 154.1 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3132, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000477/0.3136, allocations: 211.1 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.3137, allocations: 37.69 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3137, allocations: 4.125 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3137, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.012e-05/0.3138, allocations: 15.92 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-05/0.3139, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3141, allocations: 43.75 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3141, allocations: 7.984 kB / 1.032 GB, free: 12.58 MB / 0.8106 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 9.799e-05/0.3142, allocations: 129.7 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.3142, allocations: 4 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.3143, allocations: 8.375 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3143, allocations: 4 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3143, allocations: 64 / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3143, allocations: 7.984 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.3148, allocations: 378.3 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3148, allocations: 3.938 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.577e-05/0.3148, allocations: 15.98 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3148, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3149, allocations: 3.984 kB / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3149, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3149, allocations: 0 / 1.032 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.3152, allocations: 219.3 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.3152, allocations: 85.09 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3153, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.179e-05/0.3153, allocations: 4 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.3154, allocations: 7.984 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3154, allocations: 7.938 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3155, allocations: 95.27 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3155, allocations: 0 / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002663/0.3157, allocations: 20 kB / 1.033 GB, free: 11.5 MB / 0.8106 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.0001915/0.3159, allocations: 111.2 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.3164, allocations: 171.3 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3164, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3165, allocations: 39.92 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3168, allocations: 23.36 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.3172, allocations: 154.7 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.3175, allocations: 0.6937 MB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.3176, allocations: 4 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3176, allocations: 11.44 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of SimCode: time 6.31e-07/0.3176, allocations: 4 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of Templates: time 0.004544/0.3222, allocations: 1.437 MB / 1.035 GB, free: 8.797 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches