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.001979/0.001979, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.002495/0.002495, allocations: 164.9 kB / 22.46 MB, free: 5.375 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.052/3.052, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.718e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001961/0.001998, allocations: 0.727 MB / 0.9822 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.0038, allocations: 1.17 MB / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.003849, allocations: 0 / 0.9833 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.003877, allocations: 7.938 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.003955, allocations: 15.86 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.004443, allocations: 138.8 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.004637, allocations: 111.8 kB / 0.9836 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.00474, allocations: 15.97 kB / 0.9836 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.004877, allocations: 63.89 kB / 0.9836 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004979, allocations: 35.94 kB / 0.9837 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.005013, allocations: 12 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.162e-05/0.005085, allocations: 31.92 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.005112, allocations: 11.92 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.889e-05/0.005181, allocations: 35.97 kB / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.005414, allocations: 135.6 kB / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005417, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005418, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005422, allocations: 0 / 0.9839 GB, free: 9.445 MB / 0.9356 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.0006261/0.006048, allocations: 335.7 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.006096, allocations: 8.031 kB / 0.9842 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.00615, allocations: 8.938 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.006299, allocations: 129.6 kB / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.00632, allocations: 8.359 kB / 0.9844 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.006343, allocations: 4.375 kB / 0.9844 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.006551, allocations: 66.22 kB / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006558, allocations: 192 / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.006569, allocations: 384 / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.006573, allocations: 384 / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.006769, allocations: 51.83 kB / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.007248, allocations: 256.5 kB / 0.9847 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.007447, allocations: 58.55 kB / 0.9848 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.007561, allocations: 32.97 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.007574, allocations: 3.984 kB / 0.9848 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.007826, allocations: 87.31 kB / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.007827, allocations: 0 / 0.9849 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.008322, allocations: 153.5 kB / 0.985 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.00838, allocations: 55.41 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.00849, allocations: 117.8 kB / 0.9852 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.008532, allocations: 29.7 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.00861, allocations: 96.19 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.008638, allocations: 23.8 kB / 0.9853 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.008754, allocations: 37.7 kB / 0.9854 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.008921, allocations: 318.8 kB / 0.9857 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.009118, allocations: 89.66 kB / 0.9858 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.009338, allocations: 114 kB / 0.9859 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/0.009642, allocations: 141.9 kB / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009644, allocations: 0 / 0.986 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000531/0.01017, allocations: 244.8 kB / 0.9862 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.359e-05/0.01023, allocations: 41.58 kB / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01023, allocations: 320 / 0.9863 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.01025, allocations: 4 kB / 0.9863 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.01035, allocations: 15.98 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.01035, allocations: 0 / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.01057, allocations: 43.95 kB / 0.9863 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.01059, allocations: 11.98 kB / 0.9864 GB, free: 6.66 MB / 0.9356 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.0001229/0.01072, allocations: 124.1 kB / 0.9865 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.01074, allocations: 15.88 kB / 0.9865 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.01077, allocations: 4.438 kB / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.01077, allocations: 0 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01077, allocations: 0 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.01078, allocations: 0 / 0.9865 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.01129, allocations: 322.1 kB / 0.9868 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01129, allocations: 4 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.01135, allocations: 7.984 kB / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01135, allocations: 0 / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01136, allocations: 0 / 0.9868 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01136, allocations: 4 kB / 0.9868 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01136, allocations: 0 / 0.9868 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.01171, allocations: 215.3 kB / 0.987 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01172, allocations: 15.89 kB / 0.987 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.01174, allocations: 3.984 kB / 0.987 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.01183, allocations: 4 kB / 0.987 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.01187, allocations: 11.98 kB / 0.9871 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.01188, allocations: 4 kB / 0.9871 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.01195, allocations: 91.27 kB / 0.9871 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01195, allocations: 0 / 0.9871 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002636/0.01222, allocations: 20 kB / 0.9872 GB, free: 5.77 MB / 0.9356 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.0001865/0.0124, allocations: 107.2 kB / 0.9873 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.01284, allocations: 197 kB / 0.9875 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01284, allocations: 0 / 0.9875 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.01297, allocations: 39.84 kB / 0.9875 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.01331, allocations: 18.28 kB / 0.9875 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.01373, allocations: 165.8 kB / 0.9877 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.0138, allocations: 71.59 kB / 0.9877 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.461e-05/0.01385, allocations: 15.83 kB / 0.9878 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.01388, allocations: 12.5 kB / 0.9878 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.01389, allocations: 0 / 0.9878 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of Templates: time 0.004915/0.0188, allocations: 1.569 MB / 0.9893 GB, free: 3.555 MB / 0.9356 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/jenkins/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: 8.54599653929472]