Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 221.1 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.13/3.13, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 81.27 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3278, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002632/0.3304, allocations: 0.7295 MB / 1.327 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3323, allocations: 1.167 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.3324, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.3324, allocations: 3.938 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.971e-05/0.3325, allocations: 7.875 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.333, allocations: 142.6 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3332, allocations: 123.7 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3333, allocations: 12 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.3335, allocations: 43.91 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3336, allocations: 47.8 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.3336, allocations: 8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.3337, allocations: 16 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.3337, allocations: 15.98 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.3338, allocations: 39.84 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.334, allocations: 115.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.334, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.044e-06/0.334, allocations: 7.938 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.334, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 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.0006281/0.3346, allocations: 335.8 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3347, allocations: 8.031 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.3347, allocations: 12.89 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3349, allocations: 114.4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3349, allocations: 8.359 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.3349, allocations: 8.375 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3351, allocations: 62.22 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3351, allocations: 4.188 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3351, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3351, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3353, allocations: 43.89 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.3358, allocations: 256.5 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.336, allocations: 58.55 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3361, allocations: 40.91 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3361, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.3364, allocations: 87.31 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.3364, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004554/0.3368, allocations: 145.6 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.3369, allocations: 63.33 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.337, allocations: 121.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.337, allocations: 33.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.3371, allocations: 88.14 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.3371, allocations: 23.83 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.3372, allocations: 37.7 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3373, allocations: 318.8 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3375, allocations: 85.59 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.3377, allocations: 118 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.338, allocations: 141.9 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.338, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004967/0.3385, allocations: 244.8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.3385, allocations: 41.81 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3386, allocations: 0 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3386, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.3387, allocations: 11.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3387, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.3389, allocations: 39.91 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3389, allocations: 11.94 kB / 1.331 GB, free: 12.61 MB / 1.029 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.0001084/0.339, allocations: 126.3 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.339, allocations: 7.953 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.3391, allocations: 8.375 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3391, allocations: 3.984 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3391, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3391, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.3395, allocations: 318.1 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3395, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.3396, allocations: 7.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3396, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3396, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3396, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3396, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3399, allocations: 215.3 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.34, allocations: 11.89 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.34, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.3401, allocations: 7.984 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3401, allocations: 15.98 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3401, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.3402, allocations: 95.2 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002696/0.3404, allocations: 20 kB / 1.332 GB, free: 11.7 MB / 1.029 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.0001414/0.3406, allocations: 99.25 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.341, allocations: 205 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.341, allocations: 4.062 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.3411, allocations: 31.92 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3414, allocations: 17.48 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3418, allocations: 184.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.934e-05/0.3419, allocations: 75.33 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3419, allocations: 19.42 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3419, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of Templates: time 0.003377/0.3453, allocations: 1.28 MB / 1.334 GB, free: 9.727 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.898001648951322]