Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 106.3 kB / 17.08 MB, free: 5.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 194.2 kB / 20.03 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437.1 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] 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.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 71.89 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2992, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.002089/0.3013, allocations: 0.8079 MB / 1.177 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3031, allocations: 1.206 MB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.3032, allocations: 4 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.809e-05/0.3032, allocations: 7.875 kB / 1.178 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.3033, allocations: 15.86 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.304, allocations: 154.9 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3043, allocations: 155.8 kB / 1.178 GB, free: 3.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.3044, allocations: 20.22 kB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3046, allocations: 71.77 kB / 1.178 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3048, allocations: 63.73 kB / 1.178 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3048, allocations: 12 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.837e-05/0.3049, allocations: 31.97 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.3049, allocations: 23.92 kB / 1.178 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.305, allocations: 51.78 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3053, allocations: 151.4 kB / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3054, allocations: 0 / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3054, allocations: 0 / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3054, allocations: 0 / 1.179 GB, free: 3.105 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009347/0.3063, allocations: 448.8 kB / 1.179 GB, free: 2.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3064, allocations: 11.97 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.3065, allocations: 16.89 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.3067, allocations: 179.5 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.3067, allocations: 8.375 kB / 1.179 GB, free: 2.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3067, allocations: 8.375 kB / 1.179 GB, free: 2.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003611/0.3071, allocations: 98.19 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3071, allocations: 192 / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.3072, allocations: 7.922 kB / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3072, allocations: 0 / 1.179 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3075, allocations: 91.86 kB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.3083, allocations: 388.6 kB / 1.18 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.3086, allocations: 94.59 kB / 1.18 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.3089, allocations: 60.81 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3089, allocations: 3.984 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.3093, allocations: 127.2 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 3.907e-06/0.3093, allocations: 0 / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.000742/0.3101, allocations: 205.5 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.3101, allocations: 51.41 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3103, allocations: 133.8 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.3103, allocations: 37.7 kB / 1.18 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3104, allocations: 96.08 kB / 1.181 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.3105, allocations: 39.72 kB / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/0.3106, allocations: 49.7 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3107, allocations: 322.8 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.311, allocations: 79.94 kB / 1.181 GB, free: 384 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3113, allocations: 114.4 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.3118, allocations: 192.4 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3118, allocations: 0 / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006659/0.3125, allocations: 263.2 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.3125, allocations: 37.73 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3125, allocations: 0 / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3125, allocations: 4 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3127, allocations: 35.91 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3127, allocations: 0 / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.313, allocations: 39.91 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.313, allocations: 15.98 kB / 1.182 GB, free: 15.64 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: 14 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,zeroCrossing.u_pos,$PRE.zeroCrossing.u_pos,zeroCrossing.disable,$PRE.zeroCrossing.disable,zeroCrossing.enable,$PRE.zeroCrossing.enable,zeroCrossing.y,booPul1.y,$PRE.booPul1.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001231/0.3131, allocations: 129.7 kB / 1.182 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.3132, allocations: 11.95 kB / 1.182 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004938/0.3137, allocations: 165.9 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.3137, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3137, allocations: 4 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3137, allocations: 4 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/0.3145, allocations: 454.2 kB / 1.182 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.3145, allocations: 4 kB / 1.182 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3146, allocations: 15.97 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3146, allocations: 4 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3146, allocations: 4 kB / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3147, allocations: 0 / 1.182 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3147, allocations: 3.938 kB / 1.182 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/0.3152, allocations: 260 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.3153, allocations: 85.06 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3153, allocations: 4 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3154, allocations: 23.91 kB / 1.183 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3155, allocations: 15.98 kB / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3155, allocations: 0 / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.3156, allocations: 95.27 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3156, allocations: 0 / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003019/0.3159, allocations: 32 kB / 1.183 GB, free: 14.24 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: 9 (zeroCrossing.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0002053/0.3161, allocations: 119.2 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.3168, allocations: 247.1 kB / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3168, allocations: 0 / 1.183 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.317, allocations: 63.95 kB / 1.183 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3174, allocations: 22.58 kB / 1.183 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.3178, allocations: 228.8 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.3182, allocations: 0.7001 MB / 1.184 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.3182, allocations: 19.42 kB / 1.184 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.3182, allocations: 0 / 1.184 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of Templates: time 0.003931/0.3222, allocations: 1.651 MB / 1.186 GB, free: 11.13 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.270010321051814]